- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password Lifetime setting = Expiration of all ...
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
Forums
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
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
10-04-2000 11:01 AM
10-04-2000 11:01 AM
Presently running HPUX 11.0 on a HP9000/879.
System DBA is away from office next few days and all of a sudden today all
use'sr accounst on the computer have been deactivated with no warning to user that they must change their password. Only way can let users back
on system is to reactivate account and change their password.
From what I have been able to find out the settings for passwords are as follows:
Time between password changes = 20 days
Password Expiration time in days = 120 days
Password Expiration warning time = 20 days
Password Life Time Days = 120 days.
Logic says that the Password Life Time setting has been reached.
Need your help and input to correct.
THANKS!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2000 12:24 PM
10-04-2000 12:24 PM
SolutionIf I understand your question, you want to be able to globally change passwd expiration dates. here is a script that would do it for you:
#!/bin/sh
#
daystoexpire=203
for user in `/usr/sbin/logins | /usr/bin/awk '{ printf $1}'`
do
passwd -x $daystoexpire $user
done
modify according to your needs.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2000 12:31 AM
10-05-2000 12:31 AM
Re: Password Lifetime setting = Expiration of all passwords
In order to change to set the password expirations, the number of days to the password expiring when the user will be notified that he has to change the password and the minimum number of days that must pass before changing the password and ...... ( man passwd for the options )
do
#!/bin/ksh
for user in `cat /etc/passwd | awk -F : '{print $1}'`
do
passwd -n min -w warm -x days $user
done
i hope this helps!
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2000 12:57 AM
10-05-2000 12:57 AM
Re: Password Lifetime setting = Expiration of all passwords
I agree that a password reaching its lifetime would do this, but it is surprising that every password became 120 days old at the same time, making me suspect there could be another cause.
One explaination could be corruption within the tcb that stores the authentication.
To begin diagnosis, please select two accounts that have expired and run:
/usr/lbin/getprpw
and post the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:14 AM
03-01-2004 07:14 AM
Re: Password Lifetime setting = Expiration of all passwords
If you change the setting for each user individually, does that supercede the default server settings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:18 AM
03-01-2004 07:18 AM
Re: Password Lifetime setting = Expiration of all passwords
Yes. You are correct. So, if you make any changes to the system defaults later, the users that got the setting altered will not be affected. However, uncoverting and converting the system will change the users back to use the default system values and you will need to change system defaults again ofcourse.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 09:54 PM
03-01-2004 09:54 PM
Re: Password Lifetime setting = Expiration of all passwords
Check cron (crobtab -l or look in /var/adm/cron/log) for any jobs that ran at that time & date. Could be this was planned......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 01:44 AM
03-02-2004 01:44 AM
Re: Password Lifetime setting = Expiration of all passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 06:21 PM
03-02-2004 06:21 PM
Re: Password Lifetime setting = Expiration of all passwords
modprpw -m exptm=120 -m acctexp=120 username
But this is not a global setting, so you're going to have to awk the /etc/passwd file to get the usernames, or else set up a list of names in a file, and perform a "for x in .....do modprpw....done".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 07:33 AM
03-18-2004 07:33 AM
Re: Password Lifetime setting = Expiration of all passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 05:45 PM
03-18-2004 05:45 PM