- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to force a user to change passwd?
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
06-11-2002 12:39 AM
06-11-2002 12:39 AM
How to force a user to change passwd?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:43 AM
06-11-2002 12:43 AM
Re: How to force a user to change passwd?
These links should help:
passwd -f
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70a983667c40d4118feb0090279cd0f9,00.html
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:46 AM
06-11-2002 12:46 AM
Re: How to force a user to change passwd?
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:46 AM
06-11-2002 12:46 AM
Re: How to force a user to change passwd?
You can do this with the tool SAM.
- Accounts for Groups and Users
- Users
- highlight the user with the space bar
- Action
- Modify
- Modify password options
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:47 AM
06-11-2002 12:47 AM
Re: How to force a user to change passwd?
it should be passwd -x 2 user
regards
Fabrice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:47 AM
06-11-2002 12:47 AM
Re: How to force a user to change passwd?
-x max Determine the maximum number of days, max, a password
can remain unchanged. The user must enter another
password after that number of days has transpired,
known as the password expiration time.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:49 AM
06-11-2002 12:49 AM
Re: How to force a user to change passwd?
You can edit the /etc/passwd (using vipw) and add ",.." at the end of the password field.
exemple :
fred:Brjq6jlN.k/3A:113:20:,,,:/home/fred:/usr/bin/sh
fred:Brjq6jlN.k/3A,..:113:20:,,,:/home/fred:/usr/bin/sh
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 12:53 AM
06-11-2002 12:53 AM
Re: How to force a user to change passwd?
Theres a temp step in there you can comment back in that lets you gradually change the expiry (saves getting loads of calls in one day from users that can't handle changing their own password) - just comment in the case statements over a few days.
I have never been happy with the date scripting at the end of this so you might want to double check it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 01:07 AM
06-11-2002 01:07 AM
Re: How to force a user to change passwd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 02:40 AM
06-11-2002 02:40 AM
Re: How to force a user to change passwd?
user1:,..:
after second ":" don't change anything.
When using passwd -x 2 user1, you will have :
user1:XXXXX,/.QO:
You can test with a test user. Simple to reproduce.
Hope this helps.
Fabrice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 02:45 AM
06-11-2002 02:45 AM
Re: How to force a user to change passwd?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 01:00 PM
06-12-2002 01:00 PM
Re: How to force a user to change passwd?
If you are not using trusted systems, password aging will only be done in weeks, not days. I believe the day of week for password changes due to expiration is always Thursday (don't know this for sure - seem to remember reading about it somewhere).
I wouldn't edit the aging info directly. I'd use the passwd command (or modprpw).
Bill was right in his first post (at least on my 11.0 non-trusted system): "passwd -f loginid" will require the user to change his password the next time he logs in.
As far as requiring the user to change his password every 2 days on a non-trusted system, you'd need a cron job that did some type of date math to determine if it is every other day. Clay Stephenson's caljd.sh or caljd.pl should do the trick. Search the forums and you'll find numerous references to caljd.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 01:13 PM
06-12-2002 01:13 PM
Re: How to force a user to change passwd?
My $.02
Marty