- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to know Password Expiry Date?
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
тАО02-14-2011 04:41 AM
тАО02-14-2011 04:41 AM
How to know Password Expiry Date?
I need to know how to find the Password Expiry date of a user. I am using trusted system. It will be better if we get warning before the password expiry. So, If there is a way by which I can find the Password expiry date of all the users, then I can write a script to send mail to them before the password gets expired.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 04:54 AM
тАО02-14-2011 04:54 AM
Re: How to know Password Expiry Date?
Can you try with:
passwd -sa
Regards, Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 05:17 AM - last edited on тАО09-19-2011 01:36 PM by Kevin_Paul
тАО02-14-2011 05:17 AM - last edited on тАО09-19-2011 01:36 PM by Kevin_Paul
Re: How to know Password Expiry Date?
Hi,
Have a look at the thread below, they discuss a similar question:
http://h30499.www3.hp.com/t5/System-Administration/Notification-of-expiring-password/m-p/3379791#M197300
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 06:58 AM
тАО02-14-2011 06:58 AM
Re: How to know Password Expiry Date?
http://www.tek-tips.com/viewthread.cfm?qid=299751&page=4
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 11:49 PM
тАО02-14-2011 11:49 PM
Re: How to know Password Expiry Date?
Thankyou for all your replies.
I have read this in the man page of logins.
-a Display two account expiration fields. The fields show how long
the account can be unused (in days) before it becomes inactive
and the date the account will expire.
This is my output of logins -a :
vidhya 111 users 20
-1 000000
Username=vidhya
uid=111
group=users
gid=20
This is what I understood from this output.
Kindly tell me how to read this output. What -1 and 000000 mean?
Will this help me in finding the password expiry date?
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 02:57 AM
тАО02-15-2011 02:57 AM
Re: How to know Password Expiry Date?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 03:09 AM - last edited on тАО09-19-2011 01:38 PM by Kevin_Paul
тАО02-15-2011 03:09 AM - last edited on тАО09-19-2011 01:38 PM by Kevin_Paul
Re: How to know Password Expiry Date?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 03:47 AM
тАО02-15-2011 03:47 AM
Re: How to know Password Expiry Date?
that parameters are not set in /etc/default/security.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 08:47 PM
тАО02-15-2011 08:47 PM
Re: How to know Password Expiry Date?
I have set the password ageing for the user 'vidhya' using passwd command.
Here is my output:
#logins -x -l vidhya
vidhya 111 users 20
/home/vidhya
/sbin/sh
PS 021611 7 35 7
Can anyone tell me what is meant by 021611? Is that anything related to expiry date?
Even after this I am getting the same output for logins -a:
#logins -a
vidhya 111 users 20
-1 000000
Kindly help me with this. Thanks in Advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 09:40 PM
тАО02-15-2011 09:40 PM
Re: How to know Password Expiry Date?
no, it is not related to expiry date. It represents the date of last password change (16th Feb 2011).
Rest fields refer the required number of days between the changes. and the number of days allowed between changes.
>> #logins -a
vidhya 111 users 20
-1 000000
These fields (-1) show how long the account can be unused (in days) before it becomes inactive and (000000) the date the account will expire.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2011 08:52 PM
тАО02-16-2011 08:52 PM
Re: How to know Password Expiry Date?
>> #logins -a
vidhya 111 users 20
-1 000000
>>These fields (-1) show how long the account can be unused (in days) before it becomes inactive and (000000) the date the account will expire.
Then why is not my expiry date got displayed? Is there anything else I should do to get the date there? Because I have enabled the password ageing already. Please help me with this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 06:01 AM
тАО03-18-2011 06:01 AM
Re: How to know Password Expiry Date?
We are using trusted system. Please tell me anyway where I can find password expiry date.
Thanks in Advance!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 08:01 AM
тАО03-18-2011 08:01 AM
Re: How to know Password Expiry Date?
Read on below pages:
http://docs.hp.com/en/B2355-90672/ch12s05.html
http://docs.hp.com/en/B2355-90682/prpwd.4.html
Rgds...