Operating System - HP-UX
1826230 Members
4574 Online
109692 Solutions
New Discussion

reactivating a hpux10.20 user from the command line

 
hmorrison
Advisor

reactivating a hpux10.20 user from the command line

I have tried usermod -k ${login_id} as well as /usr/lbin/modprpw -k none of which work. The only active user is root. The real problem is the sam has stopped working, and I have been unable to access any other user. Can someone help me please?
4 REPLIES 4
Mel Burslan
Honored Contributor

Re: reactivating a hpux10.20 user from the command line

is this a trusted system ?

if not, just plain changing the user's password should enable the id as the system replaces the encrypted password string with a * to lock the account.

if it is a trusted system try:
/usr/lbin/modprpw -l -m alock=NO username
/usr/lbin/modprpw -k username
together.

HTH
________________________________
UNIX because I majored in cryptology...
Chris Wilshaw
Honored Contributor

Re: reactivating a hpux10.20 user from the command line

You say that sam's stopped working.

What errors is it giving when you try to use it?
Muthukumar_5
Honored Contributor

Re: reactivating a hpux10.20 user from the command line

what is "logins -aux" saying for specific user ID.

# passwd userid
Try to change passwd or

# passwd -f userid
so that next login will ask for passwd.

Is it trusted / non-trusted? May be passwd file may be corrupted.

hth.
Easy to suggest when don't know about the problem!
Bill Hassell
Honored Contributor

Re: reactivating a hpux10.20 user from the command line

This sounds like something is wrong with the /tcb directory. Has a root user changed the permissions on anything in that directory structure? Or removed any files? (those are bad things to do by the way - time for a restore). Or did a root user issue a chmod -R or chown -R from the wrong directory (like /) and mess up every file and directory in the system? If that was the case, you're looking at a reinstall.


Bill Hassell, sysadmin