1. Lock the redundant self-built account in the system
Check method:
Execute the command
#cat /etc/passwd
#cat /etc/shadow
View the account, password file, and confirm the unnecessary account with the system administrator. For some reserved system pseudo-accounts such as: bin, sys, adm, uucp, lp, nuucp, hpdb, www, daemon, etc. can be locked in as needed.
Backup Method:
#cp -p /etc/passwd /etc/passwd_bak
#cp -p /etc/shadow /etc/shadow_bak
Reinforcement method:
Use the command passwd -l <username> to lock unnecessary accounts.
Use the command passwd -u <username> to unlock the account you need to recover.
Risk:
Requires confirmation with the administrator that this operation will not affect the login of the business system
2. Setting the system password policy
Check method :
Using the command
#cat /etc/login.defs
You all know what an IP address is, right? They are assigned to devices on the network to represent
On the linux device model online, there are some discussions, some things I used to use, to modify a
single, enter single-user mode, then change the startup mode to id:3:initdefault: in /etc/inittab (t
Computer Store News: first Linux systems for flat panel launch For those who have tired of the N
Linux system command sudo use detailed explanation
Solve the method of viewing pdf reader under linux
Linux partial file operation command usage summary
Linux operating system sound card driver installation and configuration
Magento file and folder permissions set method
Linux operating system network card installation guide (below)
View file call status under Linux system Shell command
Linux file search technology Daquan
Kdump and crash configuration methods and failure analysis methods
Thunder can not open the magnetic link how to do Thunder can not open the magnetic link solution
How to solve the failure of Win8 system Hosts file?
Easy to retrieve and completely delete photos Finaldata Super Data Recovery
Win10 shows file extensions, hidden files (including system files)
Solve the Win10 official version of the short-lived fast heating tutorial
The problem that the software cannot be installed under Vista, how to solve it?
How to handle problematic System.ini items
Win 7 genuine serial number shows the wrong solution