LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-16-2011, 08:32 PM   #1
maobin
Member
 
Registered: Feb 2011
Posts: 42

Rep: Reputation: 0
Account Lock


Hi,
I would like to know if it is possible to know the reason for a account lock.

Eg if an account is locked due to multiple password attempts.
 
Old 03-16-2011, 09:11 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
You would need to contact your system administrator.
 
Old 03-17-2011, 12:06 AM   #3
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
my machine is stand alone. There is no system administrator, I'm the only user.

As a system administrator, how can that be checked? Is there a log file i can look at? I've looked at /var/log/secure but does seem to have any indication.
 
Old 03-17-2011, 12:19 AM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
So you locked yourself out?
 
Old 03-17-2011, 12:36 AM   #5
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
I've created an account and purposefully locked it. I wanted to see if root or system administrator is able to identify the reason for being locked. I know how to unlock an account with root.
 
Old 03-17-2011, 12:56 AM   #6
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
I am pretty sure that the logs won't tell you why an account became locked. All locked accounts will look different from the rest of the users in /etc/passwd (users with !! are locked).
 
Old 03-17-2011, 01:29 AM   #7
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
ya. i understand that i can see if the account is lock using lchage. just that i have to know the reason.
 
  


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
want to lock user account if he is not logged in pgkv Linux - Server 4 11-25-2009 01:14 AM
Enable Account lock out in RH 9 lgpage Linux - Security 2 01-09-2007 12:47 PM
Temporarily lock an account looseCannon AIX 5 02-04-2005 11:24 AM
Lock account after successive login attempts herrmag Linux - Newbie 1 02-03-2005 06:10 PM


All times are GMT -5. The time now is 08:16 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