01-04-2014 10:03 PM - last edited on 01-05-2014 09:40 PM by maikoro
I want to ask about some user commands, Where I know how to do some command on trusted mode but I don’t know how to do the below on none trusted mode by command line.
- Unlock and Lock users
- Refresh ageing password for user
- Check the status of a user
- Change the password of a user to a random password
p.S. This thread has been moved from HP-UX > System Administration to HP-UX > security. - Hp Forum modertaor
01-08-2014 08:53 PM
If you aren't using SMSE, you can always use vipw(1m). :-)
>1. Unlock and Lock users
-l (can NOT be unlocked, since replaces by "*")
-d delete password
>2. Refresh aging password for user
Refresh as in resetting the expiration date?
>3. Check the status of a user
>4. Change the password of a user to a random password
What are you using for trusted?
Try usermod(1m) -p encrypted_password