- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Blank password hash field in /etc/passwd
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
Discussions
Forums
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
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
тАО05-07-2009 12:31 PM
тАО05-07-2009 12:31 PM
A client has several HP-UX B.11.31 systems. In examining the /etc/passwd files, there are several accounts which do not have a placeholder in the field that traditionally held the password hash. This includes root and several regular accounts, i.e:
root::0:3::/:/sbin/sh
IIRC, this would equate to a blank password for that account on most UNIX systems. But I don't know what it would do on HP-UX.
So, is it a blank password or does it have other implications?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 12:44 PM
тАО05-07-2009 12:44 PM
SolutionBlank password works the same way in HP-UX as other Unixes or Linux.
Having it blank for root is a HUGE security violation. It needs to be fixed immediately.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 01:03 PM
тАО05-07-2009 01:03 PM
Re: Blank password hash field in /etc/passwd
If it is not, then you have no password for the root, and other, users.
If it is trusted, then you **may** be OK. To see if the system is trusted, try this:
# cat /tcb/files/auth/r/root
If it actually ouputs the contents of a file, then your system is trusted. In this file the password hash is the line that looks like:
:u_pwd=YwqQwQEITVAqg9PZw.v5tm1U:\
As long as there is a string of character there, then you should be OK.
On the other hand, if the cat returns an error like "file not found" then your system is NOT trusted and root is wide open.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 01:06 PM
тАО05-07-2009 01:06 PM
Re: Blank password hash field in /etc/passwd
1) What I said above about a trusted system could also hold true if the system is using /etc/shadow to hold passwords. If you do a 'cat /etc/shadow' and you see the file contents, then you are good. Otherwise, not good.
2) How is the system behaving? Does it ask for a root password when you try to log in? If not, then there's no password and your system is likely NOT trusted or shadowed. If it does ask for a password, then it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 01:16 PM
тАО05-07-2009 01:16 PM
Re: Blank password hash field in /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 06:29 PM
тАО05-07-2009 06:29 PM
Re: Blank password hash field in /etc/passwd
logins -p
logins -d
If the system is important, these security violations must be repaired and the root password restricted to trained administrators.
Bill Hassell, sysadmin