- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unknown password characters
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
08-01-2005 04:09 AM
08-01-2005 04:09 AM
An example entry would be:
uuser:,..:376:20:Anon User:/users/uuser:/usr/bin/ksh
Any help would be much appreciated. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:11 AM
08-01-2005 04:11 AM
Re: Unknown password characters
The encrypted password I'm looking at is: ,..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:20 AM
08-01-2005 04:20 AM
Re: Unknown password characters
or
passwd -a
Should give you details about if account is locked or not. No need to look at what encrypted password look like.
In trusted environment, in addition to above commands, you can also use getprpw -m lockout "user_name" Read man pages for details.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:21 AM
08-01-2005 04:21 AM
SolutionAnd it worked for untrusted systems but when I tried it on trusted system, it does not seem to work. To have the same effect on trusted systems, password should be blanked out toatlly.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:27 AM
08-01-2005 04:27 AM
Re: Unknown password characters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:27 AM
08-01-2005 04:27 AM
Re: Unknown password characters
pwck
# checks the passwd file
grpck
# checks the group file
Some errors for the Samba user are okay.
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
08-01-2005 05:03 AM
08-01-2005 05:03 AM
Re: Unknown password characters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 05:10 AM
08-01-2005 05:10 AM
Re: Unknown password characters
The encrypted password is kept in /tcb/files/auth/r/root for root example
/usr/lbin/getprpw root
would show if root is locked by alooking at the alock= field anything but all 0s is locked. Each digin represents a place holder for why the account was locked which is pretty cool too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 10:28 AM
08-01-2005 10:28 AM
Re: Unknown password characters
billh:,..:100:20:Bill Hassell,IT Dept,x148...
Then when I login as billh, no password is required (there is nothing in front of the comma) and the login program will ask me to pick a new password.
If there is anything in front of the comma, it must be exactly 13 characters. Anything less and *NO* password will match that string, this the account is unusable. By convention, a * is often used to 'lock' an account although it just means you can't login ever, until a valid encrypted password string is put in front of the comma.
And note that the comma is optional. If present, the characters following the comma are defined in the man page for passwd(4) (hint: man 4 passwd). These 4 characters define the expiration and renewal days.
Now forget all of that for a Trusted system. The passwd file will have 100% * characters in every account and the password aging is now stored in the TCB database.
Bill Hassell, sysadmin