The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/shadow file.... avcert1998 UNIX for Advanced & Expert Users 6 01-18-2008 12:40 PM
shadow file jbashir UNIX for Advanced & Expert Users 3 03-14-2006 12:22 AM
Shadow file definition narik007 SUN Solaris 1 03-13-2006 08:15 AM
shadow file arunkumar_mca UNIX for Dummies Questions & Answers 3 12-31-2004 08:55 PM
Shadow file permissions dman110168 UNIX for Dummies Questions & Answers 1 12-13-2004 10:48 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-18-2007
Registered User
 

Join Date: Dec 2007
Posts: 42
*LK* in /etc/shadow file

my etc/shadow file showing *LK* for a particular user.. can u tell me under which circumstances a user is locked
Reply With Quote
Forum Sponsor
  #2  
Old 12-18-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
did someone (an admin) issue a 'passwd -l user' ?
Reply With Quote
  #3  
Old 12-18-2007
Registered User
 

Join Date: Dec 2007
Posts: 42
probably no.. actually the have provided an application to a client which he can only access using that paricilar user.. now he is not able to login in that application with that user and his passwd file showing *LK*.. wat can be the possible reason.. and hw to unlock that user
Reply With Quote
  #4  
Old 12-18-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
One reason i can think of is your user was created without a password assigned to it ...
To unlock the user in your solaris you may try 'passwd -d user', look for man page of passwd for more explanation ... that will remove the *LK* and leave the account open for login without password.
Reply With Quote
  #5  
Old 12-18-2007
Registered User
 

Join Date: Dec 2007
Posts: 42
hmmm.. one cant log into the application with other user as well.. guess this thing is jus a part of a bigger problem... lemme check for other issues..
thanks a lot andryk for ur help
Reply With Quote
  #6  
Old 12-23-2007
Registered User
 

Join Date: Dec 2007
Posts: 9
Lk

Hi,

In solaris 5.8,5.9,and 5.10 there is /etc/shadow file contain the password information of all users


LK means account is locked, user cant logged in the server

Some are the reson's are as follows
1) user created and forgot to reset password
2) system admin used the command passwd -l username command
3) in solaris 5.10 if your attempt 5 times wrong password then also your account will be locked if system admin has set in /etc/policy.conf file

to remove LK from /etc/shadow file use the command
1) passwd -d username
2) passwd username
set new password

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0