[CentOS] Checking if a user is 'Disabled'
R P Herrold
herrold at centos.orgTue Oct 28 14:39:50 UTC 2008
- Previous message: [CentOS] Checking if a user is 'Disabled'
- Next message: [CentOS] Checking if a user is 'Disabled'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 28 Oct 2008, Tom Brown wrote: > I need to create some local users but then 'disable' that user. I know i can > enable and disable the user by using usermod -L and -U but does anyone know > if there is a way for me to see the current status of the user? ie locked or > unlocked? [herrold at mailhub ~]$ sudo passwd -l archive Locking password for user archive. passwd: Success [herrold at mailhub ~]$ sudo passwd -S archive archive LK 2008-07-15 0 99999 7 -1 (Password locked.) [herrold at mailhub ~]$ see also: man chage -- Russ herrold
- Previous message: [CentOS] Checking if a user is 'Disabled'
- Next message: [CentOS] Checking if a user is 'Disabled'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list