I want to better myself in periodic tasks for maintaining AIX 5.1
system security. I have verified the correctness of users, groups and
passwords database files using usrck, grpck, and pwdck.
Here is what I obtained….:
[MY_SERVER:/etc/security]root# usrck -n ALL
""
is an invalid password file entry.
The account for user daemon has expired.
The account for user bin has expired.
The account for user sys has expired.
The account for user nobody has expired.
The account for user lpd has expired.
User lp has a non-existent or inaccessible
home directory /var/spool/lp.
The user lp has no stanza in /etc/security/user.
The user lp has no stanza in /etc/security/user.
User snapp has a non-existent login port /dev/tty0.
User imnadm has a non-existent or inaccessible
home directory /home/imnadm.
User informix has a non-existent or inaccessible
home directory /ccm_users/informix.
The user test has no stanza in /etc/security/user.
The user test has no stanza in /etc/security/user.
User dca has a non-existent or inaccessible
home directory /ccm_users/dca.
The user dca has no stanza in /etc/security/user.
The user dca has no stanza in /etc/security/user.
User cge has a non-existent or inaccessible
home directory /ccm_users/cge.
The user cge has no stanza in /etc/security/user.
The user cge has no stanza in /etc/security/user.
User mag has a non-existent or inaccessible
home directory /ccm_users/mag.
The user mag has no stanza in /etc/security/user.
The user mag has no stanza in /etc/security/user.
User nna has a non-existent or inaccessible
home directory /ccm_users/nna.
The user nna has no stanza in /etc/security/user.
The user nna has no stanza in /etc/security/user.
User pcz has a non-existent or inaccessible
home directory /ccm_users/pcz.
The user pcz has no stanza in /etc/security/user.
The user pcz has no stanza in /etc/security/user.
User deb has a non-existent or inaccessible
home directory /ccm_users/deb.
The user deb has no stanza in /etc/security/user.
The user deb has no stanza in /etc/security/user.
User alloc has a non-existent or inaccessible
home directory /alloc.
User pivot has a non-existent or inaccessible
home directory /pivot.
User new_inst has a non-existent or inaccessible
home directory /new_inst.
[MY_SERVER:/etc/security]root# grpck -n ALL
User name "printq" not found in password file.
[MY_SERVER:/etc/security]root# pwdck -n ALL
The user "cge" does not have a stanza in /etc/security/user.
The user "dca" does not have a stanza in /etc/security/user.
The user "deb" does not have a stanza in /etc/security/user.
The user "imnadm" has an invalid password field in /etc/passwd.
The stanza for "imnadm" was not found in /etc/security/passwd.
The user "invscout" has an invalid password field in /etc/passwd.
The stanza for "invscout" was not found in /etc/security/passwd.
The user "ipsec" has an invalid password field in /etc/passwd.
The stanza for "ipsec" was not found in /etc/security/passwd.
The user "lp" has an invalid password field in /etc/passwd.
The stanza for "lp" was not found in /etc/security/passwd.
The user "lp" does not have a stanza in /etc/security/user.
The user "mag" does not have a stanza in /etc/security/user.
The user "nna" does not have a stanza in /etc/security/user.
The user "nuucp" has an invalid password field in /etc/passwd.
The stanza for "nuucp" was not found in /etc/security/passwd.
The user "pcz" does not have a stanza in /etc/security/user.
The user "rw" has an invalid password field in /etc/passwd.
The stanza for "rw" was not found in /etc/security/passwd.
The user "snapp" has an invalid password field in /etc/passwd.
The stanza for "snapp" was not found in /etc/security/passwd.
The user "test" does not have a stanza in /etc/security/user.
I am a bit reluctant to use "usrck -y ALL" or "grpck -p ALL "
commands to fix all problems since I fear it will erase some relevant
data. Am I right?
Furthermore, why do I get the following message by using usrck ? :
""
is an invalid password file entry.
Any idea?
Thx a lot,
Regards