- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User Command Line
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2014 10:03 PM - last edited on 01-05-2014 09:40 PM by Maiko-I
01-04-2014 10:03 PM - last edited on 01-05-2014 09:40 PM by Maiko-I
User Command Line
Hi All,
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
Thanks
p.S. This thread has been moved from HP-UX > System Administration to HP-UX > security. - Hp Forum modertaor
- Tags:
- Password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2014 08:53 PM
01-08-2014 08:53 PM
Re: User Command Line
If you aren't using SMSE, you can always use vipw(1m). :-)
>1. Unlock and Lock users
See passwd(1):
-l (can NOT be unlocked, since replaces by "*")
-d delete password
>2. Refresh aging password for user
Refresh as in resetting the expiration date?
-x max
>3. Check the status of a user
-s user
logins -x
>4. Change the password of a user to a random password
What are you using for trusted?
Try usermod(1m) -p encrypted_password