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