su

Can someone please point me in the right direction. When I try so 'su' to a different user than the one I am currently logged in as, I get the following error.

Account is Disabled -- See Account Administrator.

I can 'su' as root, but not as a user. I have come across this problem before and for the life of me I can't remember what the issue was.

What OS? Are you going from root to the other user account (no password should be asked).

I searched some of your responses from old messages and noted you mentioned HP-UX - if this is the OS you are working on could it have something to do with the SU_ROOT_Group in /etc/default/security ?

O/S Version is SCO Openserver.

Jammer,

Sorry, I don't have a SCO box to play with so it took a while.

Found the following at http://pcunix.com/SCOFAQ/scotec2.html\#disabled

When a user tries to log in, they get "Account is disabled -- see Account Administrator"
The account has been locked.

As root, run

passwd -u username

You can lock an account with "passwd -l".

Locking and unlocking can also be done through the Scoadmin Account Manager under "Login Controls".

Jammer,

If you need HP specific info, check out this site.

www.itrc.hp.com Then go to the search link on the left side.

You can check for forum messages and also look at MAN pages and HP Manuals for various versions of HPUX.

Enjoy!

:smiley: