Open the terminal, enter head -3 /etc/passwd
, press Enter, you can view the first three passwords.
Open the terminal, enter cat /etc/shadow
, press Enter, you can see all users and passwords.
Free video tutorial sharing: linux video tutorial
Open the terminal and enter ls -l /etc/passwd / etc/shadow
, press Enter, you can check the password permissions.
More related articles and tutorials are recommended: linux tutorial
The above is the detailed content of How to check password in linux system. For more information, please follow other related articles on the PHP Chinese website!