- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- password reset on trusted system
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
04-15-2005 03:58 AM
04-15-2005 03:58 AM
meanwhile I converted my system to a trusted system. I have two questions on this:
1.) Is /etc/default/security still the configuration file? I converted with SAM to a trusted system and did some settings in the policies area but I didn't see any changes in the security file.
2.) Now I have some users which forgot their password on this maschine. In the untrusted system I just deleted the corresponding part in /etc/passwd and the user could login without passwd. Deleting the * now doesn't help. I read about a shaddowed database with the passwds. Where is it?
Thanks for further help and best regards,
Oliver
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 04:13 AM
04-15-2005 04:13 AM
Re: password reset on trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 04:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 05:19 AM
04-15-2005 05:19 AM
Re: password reset on trusted system
Rgds / JG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 05:45 AM
04-15-2005 05:45 AM
Re: password reset on trusted system
The best way to reset a users passwd on a trusted system is to use the modprpw command (/usr/lbin/modprpw). With this command you can reset passwords and unlock accounts etc. Have a look at the man page for all the options.
The other useful command for trusted systems is getprpw. It's handy for getting information about trusted users (ie Is their account locked etc)
Rgds,
Anthony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 07:41 AM
04-15-2005 07:41 AM
Re: password reset on trusted system
In an untrusted system there is only one file for authentication: /etc/passwd (and optionally, /etc/group). But when you move to Trusted, all authentication is moved to the /tcb directory, so blanking out the password field won't work. (by the way, blanking out a password is never a good idea--you are relying on the user to promise to add a password at their earliest convenience...yeah, right)
The recommended and supported way to fix password issues is with SAM and there are now a lot more choices (unlock a locked account, reset their password age, force a password change at next login, etc) and you can even give them password suggestions.
Now for advanced sysadmins who like commnad-line tools, you can use modprpw to unlock a user's account (in Trusted, too many password failures will lock the account), refresh the expiration date, and so on. The man page for modprpw will give you the details. (note: the man page for modprpw is only on 11.11--use docs.hp.com if you're on 11.00)
The shadowed password system is a third choice. It is quite different from Trusted, does not have all the security controls but is more compatible with old code that messes with a shadow password file. Un-trusted, shadow, and Trusted are mutually exclusive--you pick the one you need. I would always go for Trusted.
Bill Hassell, sysadmin