The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 03:40 PM
shadow file jbashir UNIX for Advanced & Expert Users 3 03-14-2006 03:22 AM
Shadow file definition narik007 SUN Solaris 1 03-13-2006 11:15 AM
shadow file arunkumar_mca UNIX for Dummies Questions & Answers 3 12-31-2004 11:55 PM
Shadow file permissions dman110168 UNIX for Dummies Questions & Answers 1 12-13-2004 01:48 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-19-2007
vikashtulsiyan vikashtulsiyan is offline
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
  #2 (permalink)  
Old 12-19-2007
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
did someone (an admin) issue a 'passwd -l user' ?
  #3 (permalink)  
Old 12-19-2007
vikashtulsiyan vikashtulsiyan is offline
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
  #4 (permalink)  
Old 12-19-2007
andryk's Avatar
andryk andryk is offline Forum Advisor  
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.
  #5 (permalink)  
Old 12-19-2007
vikashtulsiyan vikashtulsiyan is offline
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
  #6 (permalink)  
Old 12-23-2007
pravinlandge pravinlandge is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 15
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0