- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/passwd file shows encrypted password
Operating System - HP-UX
1821587
Members
3443
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-18-2010 01:47 PM
тАО11-18-2010 01:47 PM
Hi Gurus,
One of my trusted hp-ux 11.11 server, the user root shows encrypted password instead of *.
Tried the following:
unlocked the user by passwd -l root
then, cat /etc/passwd | grep root | sed 's/e94xsM0XKbu4E/*/' >/etc/passwd.new
But this didn't work, as i got error in the sed function. What needs to be done so that my /etc/passwd file should show an asterik mark on the password field of the user "root", and simultaneously the root user should able to login & work as well.
One of my trusted hp-ux 11.11 server, the user root shows encrypted password instead of *.
Tried the following:
unlocked the user by passwd -l root
then, cat /etc/passwd | grep root | sed 's/e94xsM0XKbu4E/*/' >/etc/passwd.new
But this didn't work, as i got error in the sed function. What needs to be done so that my /etc/passwd file should show an asterik mark on the password field of the user "root", and simultaneously the root user should able to login & work as well.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 03:04 PM
тАО11-18-2010 03:04 PM
Solution
If you are trying to change the password file, use the vipw command and put an asterisk in the password field.
After making the change do not logout from the server. Stay logged in and try to login in a new session from a different server or terminal so that you can test the changes.
If you are unable to login in the new session, go back to the old session and undo the changes. This means that something is wrong with your trusted system environment.
After making the change do not logout from the server. Stay logged in and try to login in a new session from a different server or terminal so that you can test the changes.
If you are unable to login in the new session, go back to the old session and undo the changes. This means that something is wrong with your trusted system environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 03:57 PM
тАО11-18-2010 03:57 PM
Re: /etc/passwd file shows encrypted password
that worked...thanks for your assitance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 03:58 PM
тАО11-18-2010 03:58 PM
Re: /etc/passwd file shows encrypted password
It worked as per TTr.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP