On Sun, Nov 11, 2001 at 06:19:13PM +0530, Un|tZ wrote:
> 
> i was checking out the  passwd -l (to lock a particular 
> account) option on one of my  linux systems ... I found 
> that it locked the account alrite  and then  i tried to 
> unlock the account by using the  passwd -u option and i 
> failed. i mean, the -u  option  shows  that the account 
> has been unlocked but when i try to login with the same 
> user account, the login fails ... Now this has affected
> all the users on my system.  I can't seem to login from 
> any of the users except root.  Please  help me out from 
> this mess.
> 
---end quoted text---

This seems to be a genuine mess. There is no  reason why
the passwords for *all* users should be blocked when you
use 'passwd -l user-joe' ... Or, did  you use  a generic
password block with only 'passwd -l' ? In any case, with
most distros 'passwd -u' should recover fully.  The rea-
son for this mess is difficult to guess.

However, for recovery action, this is what you do:

Suppose on your system you have users tom, dick, harry..

o As root do, serially for tom, dick, harry ....

  #passwd tom
  To the prompt "New password :" press [Enter]. You will 
  get a warning of "Bad Password", but ignore it.  Press
  [Enter] again to the prompt  "Re-enter new password".
  
o What you have just done is to remove all passwords for
  *all* users tom, dick, harry .... yes, you  have to do
  this thing for *all* users manually. No other go.
  
o Instruct *all*  your users to press [Enter] when prom-
  pted for password.  Once within their shells, they can
  make their own "secret"  passwords, by invoking passwd
  program as user.
  
HTH

Bish  
   
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
  
Sub : Lesser used commands (rev)                     LOST #161

To reverse the characters in a file use the rev command.  e.g.
If there is a file called Hello with just "Hello World" in it:
$cat Hello ... output is ... Hello World
$rev Hello ... outout is ... dlroW olleH !!

####<[EMAIL PROTECTED]>####################################
:


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to