Similar cmd on Linux... - unix-admin
This is a discussion on Similar cmd on Linux... - unix-admin ; Hi Do any of your guys know a similar command or combination of commands, that would give me an output like the AIX-commands usrck and pwdck on Linux? On AIX usrck –n ALL gives me: The user name XXXXXXX appears ...
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| Do any of your guys know a similar command or combination of commands, that would give me an output like the AIX-commands usrck and pwdck on Linux? On AIX usrck –n ALL gives me: The user name XXXXXXX appears in /etc/security/passwd but not in /etc/ passwd. User daemon is locked. The account for user sys has expired. User lp has a non-existent or inaccessible home directory /var/spool/ lp. etc. Thanks in advance Claus. |
|
#2
| |||
| |||
|
> Do any of your guys know a similar command or combination of commands, > that would give me an output like the AIX-commands usrck and pwdck on > Linux? To check consistency (or issues you can use these commands): pwck - checks /etc/passwd and /etc/shadow for consistency grpck - checks /etc/group and /etc/gshadow for consistency I think the above gives you all this info, but if not here's a way to find some more info... passwd -S username |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT -4. The time now is 07:42 AM.




Linear Mode