Linux-System-Management-Scripts-Tricks
Linux System Administrator & Engineer Certification Tricks Management Scripts
Linux Security & Linux Hardening & Linux Management & Linux Configuration
Information
User Management
- sudo rights
- sudo rights without password
- user add with skeleton directory
- user add without home directory, no group, no shell
- user disk quota
- force user to change password
- lock user after failed login attempts
- join ldap as a client
- alias creator (mkalias)
Network Configuration
- ifconfig mtu change layer2
- ip link mtu change layer2
- ip route add
- rename network interface
- ip addr static ip
- ifconfig static ip
- dns nameservers
- netplan static ip
- join wifi network
- ip link change mac address
- ifconfig change mac address
- static routing netplan
- give bind permission
Remote Access
- ssh key-based authentication
- ssh two factor authentication
- ssh alias
- vnc server
- vnc client
- parallel-ssh
- parallel-ssh options
HTTP Servers
- apache vhost
- apache basic authentication
- apache restrict extensions
- apache reverse proxy
- nginx reverse proxy
- nginx reverse proxy body
- htaccess
Proxy Servers
- squid installation
- squid cache proxy
- squid acl access restrictions
- squid spoofing headers
- squid removing headers
- squid acl block-list
- squid ssl config
- squid service
File Operations
- user vsftpd configuration
- anonymous vsftpd configuration
- samba anonymous file sharing
- rsync over ssh
- nfs file sharing
Disk I/O
- raid info
- raid setup
- swap space
- raid hot spares
- encrypt swap space
- add logical volume
- add physical volume
- add volume group
- extend logical volume
- extend volume group
- change physical volume
- delete a partition
- shrink a partition
DNS Servers
- authoritative dns service
- forwarding dns service
- dns service version hiding
- disable dns recursion
- restrict zone transfer
DHCP Servers
- dhcp server configuration
- dhcp server change interface
- dhcp static host-ip
- disable dynamic dns
- deny dhcpdecline messages
Firewall Service
- iptables basics
- iptables rules for a single user
- iptables persistent save
- iptables port forwarding
- nftables basics
- iptables as a service
Hardening
- apache trace-track
- apache server signature
- randomized layout of virtual address space
- openscap
- sftp deny deletion
- squid remove headers
- rsyslog
Installation
- pihole setup
- pihole second dns
- wordpress installation
- limesurvey installation
- owncloud installation
- nextcloud installation
- gophish installation
- revive adserver installation