/etc/shadow file help needed.
I was reading a security manual and stuck at following statements over /etc/shadow file .
1)How would i check if Lines in the /etc/shadow file are in valid format as checked by the pwconv program? |
Hi,
Please elaborate and let us know your exact problem? For your information: pwconv is system administration command to convert unshadowed entries in /etc/passwd into shadowed entries in /etc/shadow. Replace the encrypted password in /etc/password with an x. Shadowing passwords keeps them safe from password-cracking programs. pwconv creates additional expiration information for the /etc/shadow file from entries in your /etc/login.defs file. If you add new entries to the /etc/passwd file, you can run pwconv again to transfer the new information to /etc/shadow. Already shadowed entries are ignored. pwunconv restores the encrypted passwords to your /etc/passwd file and removes the /etc/shadow file. Some expiration information is lost in the conversion. See also grpconv and grpunconv. |
Quote:
for example is there any way of running pwconv utility and making sure that /etc/shadow file is upto date or valid. Exact statement from book. Quote:
|
Hi there,
you can log in as the root and open the shadow file and see for yourself what the file entries look like. Is this what you are looking for? |
All times are GMT -5. The time now is 01:55 AM. |