Nguyễn Pháp
New member
How do I know if my Linux root is locked?
Answer
Check Lock Status of Root Account
Answer
Check Lock Status of Root Account
- To know if your root account is locked or not, you can either check the “/etc/shadow” file or use the passwd command with the “-S” option.
- In order to know if the root account is locked or not, look for an exclamation mark in the field that should contain the encrypted password.