Linux systems are generally used to build servers, so how to find shadow files in the Linux system and enter and view shadow files? Let’s take a look at the detailed tutorial below.
1. First log in to the Linux system or server using the root account.
Note:Because thepermission of the shadow file is 000, the actual encrypted password saved cannot be viewed by other users except the root user. This effectivelyensures the security of the password. If the permissions of this file have changed,you need to pay attention to whether it is a malicious attack.
2. Enter thecommand wand press enter to check whether the current user is the root user. If not, switch the user to root.
3. Enter thecommand cd /etcand press enter to enter the current directory.
4. Enter thecommand ll shadowto check whether the shadow file exists in the current directory.
5. If there is a shadow file in the current directory, justenter the command vi shadow or vim shadow. View shadow messenger
6. Or you can use themore shadow command to view the shadow file information.
The above is the detailed content of How to find and access shadow files using Linux?. For more information, please follow other related articles on the PHP Chinese website!