Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)
Showing posts with label lockout. Show all posts
Showing posts with label lockout. Show all posts

Wednesday, August 13, 2014

Account is disabled - see Account Administrator + hpux

Account is disabled - see Account Administrator + hpux

Check the lockout condition:
/usr/lbin/getprpw kjadhav

lockout=0000001
The position, left to right represents:

1 past password lifetime
2 past last login time (inactive account)
3 past absolute account lifetime
4 exceeded unsuccessful login attempts
5 password required and a null password
6 admin lock
7 password is a *

To enable account
/usr/lbin/modprpw –k kjadhav
To change lockout condition
#######################################
To put admin lock:
condition: lockout=0000010

/usr/lbin/modprpw -l -m alock=YES kjadhav
-m :modify
-l:local user

It will put admin lock and user will be in deactivated state.


Thanks...
Kiran Babu Jadhav

**Let's Share our knowledge**