1846620 Members
1499 Online
110256 Solutions
New Discussion

usermod

 
SOLVED
Go to solution
chapaya_1
Frequent Advisor

usermod

Hi all ,

i have trusted system ,
i need to disable some users ,
i thought to user -e option :
1. How can i see the expired time after i assign it to user ?
2. How do i reactivate the user ?

BYE
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: usermod

See "man logins" and "man modprpw".


Pete

Pete
Sivakumar TS
Honored Contributor

Re: usermod


Hi,

You can reactivate the user by

#modprpw -k

With Regards,

Siva.
Nothing is Impossible !
Mark Nieuwboer
Esteemed Contributor

Re: usermod

You can lock and unlock a user with they /usr/lbin/modprpw -k
to see if they are locked use getprpw.
see the man pages fore this
if you don't have the manpages see this link.
http://docs.hp.com/en/B2355-90691/index.html

grtz. Mark
chapaya_1
Frequent Advisor

Re: usermod


i cant release the user with modprpw -k user
Robert-Jan Goossens
Honored Contributor
Solution

Re: usermod

Hi,

#/usr/lbin/modprpw -l -k user
After clearing with modprpw :
# /usr/lbin/getprpw -m lockout user
lockout=0000000

Try to login with this user account.

Hope this helps,
Robert-Jan