LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-10-2004, 04:57 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
how to tell what users are locked out


Hi,

I need to know which accounts on my RH linux box are locked out.

I've used chage and finger but, those don't say 'Account Locked out'

I've looked at the /etc/passwd and /etc/shadow but, those don't really say anything.

Is there a sure way of telling if an account is locked out?

Thanks,
 
Old 06-10-2004, 07:54 PM   #2
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
The field to the left of the last colon (the second to last field) in /etc/shadow tells the number of days since 1/1/1970 that the users account has been disabled.

I'm not sure though if that is the sum of the number of days or if that gets reset after an account is re-enabled.

Last edited by meblost; 06-10-2004 at 07:56 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
POP Problem with mail users are diconnected and mailbox locked jouxsonj Linux - General 0 10-18-2005 02:13 AM
Users Locked Out, Gdm Gone Beserk,14 hours @ work. No Solution yet. fragmented_user Linux - Newbie 17 09-02-2005 06:07 AM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
Locked Archive or Installer to force end users to accept a license agreement diven Linux - General 1 05-03-2005 07:45 PM
How to get a list of users with their password status (expired, account locked...)? ricky_ds Linux - General 6 02-28-2005 09:53 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration