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 11:40 AM
shadow file jbashir UNIX for Advanced & Expert Users 3 03-13-2006 11:22 PM
Shadow file definition narik007 SUN Solaris 1 03-13-2006 07:15 AM
shadow file arunkumar_mca UNIX for Dummies Questions & Answers 3 12-31-2004 07:55 PM
Shadow file permissions dman110168 UNIX for Dummies Questions & Answers 1 12-13-2004 09:48 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
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 (permalink)  
Old 12-23-2007
Registered User
 

Join Date: Dec 2007
Posts: 7
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 UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:09 PM.


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

Content Relevant URLs by vBSEO 3.2.0