1834391 Members
1963 Online
110066 Solutions
New Discussion

reactive user account

 
Indrajit_1
Valued Contributor

reactive user account

Hi;

how do i reactive an user account in command prompt in linux.

Thanks & Regards
Indrajit
Never Ever Give Up
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: reactive user account

Change the passwd in command line. It will be activated. Or as root user,

# passwd -fu

It will unlock account.

--
Muthu
Easy to suggest when don't know about the problem!
Asif Sharif
Honored Contributor

Re: reactive user account

Hi Indrajit,

Linux#passwd -fu root
Unlocking password for user root
Passwd:Sucess
Linux#

-u This is the reverse of the -l option - it will unlock the account password by removing the !prefix. This option is available to root only. By default passwd will refuse to create a passwordless account (it will not unlock an account that has only "!" as a password).

The force option -f will override this protection.


Regards,

Asif Sharif


Regards,
Asif Sharif
Steven E. Protter
Exalted Contributor

Re: reactive user account

Shalom Indrajit,

Yes passwd -fu will reactivate (English tech terminology lesson here) the account.

Do a

lastb -R

command and see why the account was deactivated.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Indrajit_1
Valued Contributor

Re: reactive user account

Hi All;

Thanks for ur support..

yes..

#passwd -u (to unlock)
#passwd -l (to lock)


Thanks once again

Cheers
indrajit
Never Ever Give Up