- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Command to require users to enter new password
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
Forums
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
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
03-09-2006 07:21 PM
03-09-2006 07:21 PM
Command to require users to enter new password
My HP-UX server is a trusted system (tcb). I hv a list of 80+ new users. After creating their users account, is there any command to let users to key in their own new password after entering their user id in login?
My normal practise is to delete the 2nd line (pwd.....) at /tcb/files/auth/..
Any way to speed up this process?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 07:32 PM
03-09-2006 07:32 PM
Re: Command to require users to enter new password
# passwd -f user
Force user to change password upon next login by expiring the current password.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 07:32 PM
03-09-2006 07:32 PM
Re: Command to require users to enter new password
have you tried:
modprpw -e usr_account
where usr_account is the user account name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 07:42 PM
03-09-2006 07:42 PM
Re: Command to require users to enter new password
Actually the thing that I want is after user enter their user id at login prompt and press enter, the new password will be prompt as shown below.
login: ncs
Last successful login for ncs: Thu Mar 9 08:50:46 MAL-8 2006 on pts/tm
Last unsuccessful login for ncs: Fri Mar 10 16:40:40 MAL-8 2006 on pts/ty
You don't have a password.
Choose a new password.
Changing password for ncs
Last successful password change for ncs: NEVER
Last unsuccessful password change for ncs: Fri Mar 10 16:40:09 2006
New password:
Any ideas?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 07:59 PM
03-09-2006 07:59 PM
Re: Command to require users to enter new password
I'm not too sure whether the trusted system would allow you to have a blank password for a user at anytime. But the option "-x" to modprpw command remotely.. resembles your requirement.
modprpw -x username
QUOTE (from man page):
-x Delete the user's password and return a random password that the
user must later supply to the login process to login and pick a
new password. Not valid for root. Also resets locks.
END QUOTE.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 08:30 PM
03-09-2006 08:30 PM
Re: Command to require users to enter new password
Still can't.
regards.