- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Date of password expiry
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
08-07-2013 02:29 AM
08-07-2013 02:29 AM
hi ,
I follwed this link , but am facing problem , not able to get date of password expiry .
http://h30499.www3.hp.com/t5/General/password-on-hpux-11i/m-p/3600133#M111889
for hpux 11iv2 .
Solved! Go to Solution.
- Tags:
- Password
- trusted mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2013 05:40 AM
08-07-2013 05:40 AM
Re: Date of password expiry
What type of password security do you have? Standard, Trusted or SMSE?
Which post doesn't work for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2013 05:49 AM
08-07-2013 05:49 AM
Re: Date of password expiry
Its trusted.
Script is attached herewith.
User tef has 29 days left until password expires
User tef last changed the password on: Wed Aug 7 14:02:55 2013.
User tef - password will expire on: .
Not able to grep date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2013 06:03 AM - edited 08-07-2013 06:05 AM
08-07-2013 06:03 AM - edited 08-07-2013 06:05 AM
Re: Date of password expiry
>Not able to find date
Most likely this line:
expire_date=$(echo 0d${exp_date}=Y | adb | cut -c 3-13)
Change to:
expire_date=$(echo 0d${exp_date}=Y | adb -o | cut -c 3-13)
(I'm surprised if they are using perl, why bother to use adb?)
- Tags:
- adb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2013 10:20 PM - edited 08-08-2013 12:08 AM
08-07-2013 10:20 PM - edited 08-08-2013 12:08 AM
Re: Date of password expiry
Hi Dennis ,
User tef has 29 days left until password expires
User tef last changed the password on: Wed Aug 7 14:02:55 2013.
User tef - password will expire on: .
Its still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2013 07:32 AM
08-08-2013 07:32 AM
Solution>It's still the same.
Ok, then we need to debug what that step is doing. Add some debugging echoes:
echo 0d${exp_date}=Y
echo 0d${exp_date}=Y | adb -o
echo 0d${exp_date}=Y | adb -o | cut -c 3-13
expire_date=$(echo 0d${exp_date}=Y | adb -o | cut -c 3-13)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2013 11:13 PM
08-11-2013 11:13 PM
Re: Date of password expiry
Hi Dennis ,
User tef does not have password aging enabled.
0d1378456375=Y
2013 Sep 6 14:02:55
User tef has 25 days left until password expires
User tef last changed the password on: Wed Aug 7 14:02:55 2013.
User tef - password will expire on: .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2013 10:30 PM
08-12-2013 10:30 PM
Re: Date of password expiry
Thanks Dennis .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 12:35 AM - edited 08-13-2013 12:36 AM
08-13-2013 12:35 AM - edited 08-13-2013 12:36 AM
Re: Date of password expiry
>2013 Sep 6 14:02:55
Are you sure there wasn't lots of leading spaces? :-)
>User tef - password will expire on: .
Ok, it appears when adb was changed, it also replaced the two leading tabs by 16 spaces.
So change the line to:
expire_date=$(echo 0d${exp_date}=Y | adb -o | cut -c 17-27)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 05:27 AM
08-13-2013 05:27 AM