Home  >  Article  >  Operation and Maintenance  >  How to check password in linux system

How to check password in linux system

王林
王林Original
2019-12-26 14:55:347677browse

How to check password in linux system

Open the terminal, enter head -3 /etc/passwd, press Enter, you can view the first three passwords.

How to check password in linux system

Open the terminal, enter cat /etc/shadow, press Enter, you can see all users and passwords.

Free video tutorial sharing: linux video tutorial

How to check password in linux system

Open the terminal and enter ls -l /etc/passwd / etc/shadow, press Enter, you can check the password permissions.

How to check password in linux system

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn