- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pre-empting Password expiry on HP-UX
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
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
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
тАО04-05-2001 02:47 AM
тАО04-05-2001 02:47 AM
Pre-empting Password expiry on HP-UX
I was wondering about setting and capturing the warning message ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2001 06:03 AM
тАО04-05-2001 06:03 AM
Re: Pre-empting Password expiry on HP-UX
You can use the undocumented command;
getprpw -m exptm to list the expiration time.
The "unreleased" man pages for getprpw and modprpw have been posted in forums before. If you need a copy let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2001 06:41 AM
тАО04-05-2001 06:41 AM
Re: Pre-empting Password expiry on HP-UX
IRW:
passwd -s user ( status of acount)
You can force password expiration w/ passwd -f and that login sends a message a week/days before password expire.
See man passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2001 01:40 AM
тАО04-06-2001 01:40 AM
Re: Pre-empting Password expiry on HP-UX
As far as the getprpw command a copy of the man pages would be appreciated thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 07:28 AM
тАО11-04-2004 07:28 AM
Re: Pre-empting Password expiry on HP-UX
Has anyone addressed this issue where Informix is used, and the user no longer logs into the Unix system - therefore not getting prompted for their password change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 07:43 AM
тАО11-04-2004 07:43 AM
Re: Pre-empting Password expiry on HP-UX
/usr/lbin/getprpw -r -m lockout idba
/usr/lbin/getprpw -r -m slogint idba
Or you can even get the various time fields of the account if you've set them apart from the defaults.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 10:57 AM
тАО11-04-2004 10:57 AM
Re: Pre-empting Password expiry on HP-UX
Look at the following thread. I posted a script that can be used to get the 'number of days before the password will expire'. If it is less than 2, then you can send a message or notify during the login so that the users can change their passwords. You can tailor it further to accomplish what you want. There are also few more solutions in the same thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=696912
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 11:02 AM
тАО11-04-2004 11:02 AM
Re: Pre-empting Password expiry on HP-UX
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 11:48 AM
тАО11-04-2004 11:48 AM
Re: Pre-empting Password expiry on HP-UX
Guess I'm not a real one. But for my database binary owner, I simply use sam users and then modify the user turning off password aging.
When I want to change the password, I initiate the process and update the appropriate people.
Every once in a while one of my backups decides thats a bad idea and changes it back, but thats what I do. I have the same policy on root since an operator doing the one task they need root for decided to answer a prompt for password change and tell nobody.
That adventure required a trip to single user mode to fix.
Informix, Oracle and other database vendors are now pushing a single sign on concept where they accept authentication from and LDAP server, or even Windows ADS. In that scenario once the user is on the network they have access to the Informix database.
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
тАО11-04-2004 10:15 PM
тАО11-04-2004 10:15 PM
Re: Pre-empting Password expiry on HP-UX
I don't know if anyone else noticed but I raised this back in April 2001......?
I solved the problem back then by setting up my own scripted procedures to expire passwords at midnight if they had not been changed for 30 days. That way the user always has to change first thing in the morning rather than midway through the working day. As far as Informix is concerned with connections not making actual Unix login I tend to also disable logins not used for 30 days automatically - does mean that the user is inconveninced whilst its reactivated but does ensure password changes do take place on these accounts.
I will assign points to those who replied but I think that the "re-animater" of this thread should have started a new one really so no points there :@). (I see its no possible to lock threads which is a good idea).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 10:18 PM
тАО11-04-2004 10:18 PM