- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pw_age field using getpwnam
Operating System - HP-UX
1753792
Members
7721
Online
108799
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
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
тАО10-29-2008 10:09 AM
тАО10-29-2008 10:09 AM
Re: pw_age field using getpwnam
Alex,
The very first reply from JRF contains the URL that has exactly the explanation that you were asking. If only you had read it carefully...
The characters used to represent "digits" are . for 0, / for 1, 0 through 9 for 2 through 11, A through Z for 12 through 37, and a through z for 38 through 63.
...
The first character of the age, M, denotes the maximum number...
If m = M = 0 (derived from the string . or ..), the user is forced to change...
Dennis,Hein thanks for the code. I have been using a shell script I wrote with 64 variables in it to make the conversion.
The very first reply from JRF contains the URL that has exactly the explanation that you were asking. If only you had read it carefully...
The characters used to represent "digits" are . for 0, / for 1, 0 through 9 for 2 through 11, A through Z for 12 through 37, and a through z for 38 through 63.
...
The first character of the age, M, denotes the maximum number...
If m = M = 0 (derived from the string . or ..), the user is forced to change...
Dennis,Hein thanks for the code. I have been using a shell script I wrote with 64 variables in it to make the conversion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2008 10:15 AM
тАО10-29-2008 10:15 AM
Re: pw_age field using getpwnam
Ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2008 12:26 PM
тАО10-29-2008 12:26 PM
Re: pw_age field using getpwnam
>TTr: If only you had read it carefully.
There is a big difference between words and an actual program. See my comments in mine.
I don't see anywhere in passwd(4) where it explains my comment:
k = mapped[3] * 64 + mapped[2]; /* swapped order? */
And Hein's comment: or if I have those reversed
There is a big difference between words and an actual program. See my comments in mine.
I don't see anywhere in passwd(4) where it explains my comment:
k = mapped[3] * 64 + mapped[2]; /* swapped order? */
And Hein's comment: or if I have those reversed
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP