- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: passwd aging and forcing passwd change doesn't...
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
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-16-2009 05:46 PM
тАО02-16-2009 05:46 PM
passwd aging and forcing passwd change doesn't work at all
I found the passwd aging and forcing passwd change at next login didn't work at all in my system.
My test was to execute command line like:
"passwd -r files -f -x 14 -n 7 student1"
Meaning: force student1 to establish a new password on the next login which will expire in 14 days and prohibit the user from changing the password until 7 days have transpired.
But when I login with student1 at next time, I was not asked to update the passwd.
I have done some search here and found no matching topic, so I post this question.
Can anyone provide some help?
Thanks in advance.
Regards
arking
- Tags:
- passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 06:58 PM
тАО02-16-2009 06:58 PM
Re: passwd aging and forcing passwd change doesn't work at all
What is on passwd -sa
What is in /etc/default/security
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
тАО02-17-2009 12:54 AM
тАО02-17-2009 12:54 AM
Re: passwd aging and forcing passwd change doesn't work at all
# passwd -n 0 -x 14
by the way; Which version of HP-UX ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 01:14 AM
тАО02-17-2009 01:14 AM
Re: passwd aging and forcing passwd change doesn't work at all
-f Force the user to change the password on the next login
EXAMPLE: passwd -f username
-n Specify a minimum password life time (the password cannot be changed during this time)
EXAMPLE: passwd -n1 username
-x Specify a maximum password ((the password must be changed after this time and password aging may vary
between 1 and 158 days)
EXAMPLE: passwd -x158 username
-l Lock a password so the user cannot login
EXAMPLE: passwd -l username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 08:45 AM
тАО02-19-2009 08:45 AM
Re: passwd aging and forcing passwd change doesn't work at all
only one question are you using Trusted System, SMSE o no security policies in your system?
ch2
- Tags:
- SMSE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 01:07 AM
тАО02-20-2009 01:07 AM
Re: passwd aging and forcing passwd change doesn't work at all
Thanks all for your response.
The system is HP-UX 11i.
It isn't using a trusted system
Now the problem seems related with SSH login. When I used telnet to login, the passwd was requested to change because of expiry. But for SSH login, it didn't.
Is the SSH corrupted?
Maybe I need to re-install it?
Regards
arking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 01:42 AM
тАО02-20-2009 01:42 AM
Re: passwd aging and forcing passwd change doesn't work at all
SSH login also should say password expired and ask the user to change the password. Because SSH and telnet is same as far as authentication is concern.
If the account is configured with password less login then ssh login may not work I hope.
What is the error you are getting when you login through ssh?
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 01:58 AM
тАО02-20-2009 01:58 AM
Re: passwd aging and forcing passwd change doesn't work at all
I seem to recall that old versions had some problems in password aging support.
Get the latest version of SSH from software.hp.com for free. Read the release notes before installing: the newer versions of SSH have some patch requirements for some HP-UX versions.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2009 05:32 PM
тАО02-22-2009 05:32 PM
Re: passwd aging and forcing passwd change doesn't work at all
Re Ganesan R:
The error was no expiry nofication at the next login after enabling the "force passwd change at next login".
And can you explain what is "configured with password less login"? I don't understand it. Thanks.
Re Matti Kurkela:
Maybe the version is too old:
> what /usr/bin/ssh
/usr/bin/ssh:
HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP32) $Revision: 75.02
As we have other machines with "$OpenSSL A.00.09.07i" installed and it was ok.
If my version too old?
Thanks
Best regards,
arking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 03:51 AM
тАО02-23-2009 03:51 AM
Re: passwd aging and forcing passwd change doesn't work at all
This is the version of end.o, used with -g, useless.