- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: display/check Password attributes on HP-UX 11 ...
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
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
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
09-13-2004 10:27 PM
09-13-2004 10:27 PM
display/check Password attributes on HP-UX 11 non trusted NIS
How could I check/display the password attributes : MaxAge, MinAge, WarnAge on an HP-UX 11.0 box. this system is non-trusted and configured as NIS, so no shadow file and tcb/files/auth...
Please help
Thanks in advance
Saurabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 10:38 PM
09-13-2004 10:38 PM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
use
passwd -s
passwd -as
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 01:22 AM
09-14-2004 01:22 AM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
logins -x -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 01:24 AM
09-14-2004 01:24 AM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
i also wanted to propose John's solution :
logins -xl
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 01:40 AM
09-14-2004 01:40 AM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
name status mm/dd/yy min max warn
This format specially for non-trusted mode with nisplus respository and with no user restriction's.
Or you can use logins command there as,
logins -a -l
And more, you can use sam too to get the correspoding user informations there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 04:07 AM
09-14-2004 04:07 AM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2015 04:44 PM
07-27-2015 04:44 PM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
@john kingsley wrote:
"passwd -s -a" does provide this information in an easier to read format, but it will only gives this information for users included in the local /etc/passwd file, or if your running NIS+. So, this command is only useful if it can be run on the NIS master, and if only the /etc/passwd file is used. The logins command will work from any of the NIS clients.
Hi,
What is the date returned from the passwd -s or the logins -x -l commands, i assumed it is expiration date but man page does n't explain.
Thanks,
Rachael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2015 12:26 AM
07-28-2015 12:26 AM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
>the logins -x -l commands, I assumed it is expiration date but man page doesn't explain.
It is clear: date of last change
passwd(1m): Here it isn't clear:
name status mm/dd/yy min max warn
Most likely the same "date of last change".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2015 01:23 PM
07-28-2015 01:23 PM
Re: display/check Password attributes on HP-UX 11 non trusted NIS
@Dennis Handly wrote:>the logins -x -l commands, I assumed it is expiration date but man page doesn't explain.
It is clear: date of last change
passwd(1m): Here it isn't clear:
name status mm/dd/yy min max warn
Most likely the same "date of last change".
Thanks Dennis, i see it now.