- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- passwd never expire
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
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
тАО09-06-2005 03:00 PM
тАО09-06-2005 03:00 PM
passwd never expire
I need to disable password expiry for one HP-UX user account without using SAM.
Does below syntax work and any side effect ?
passwd -x 0
I see another post of suggesting using of modprpw. Is there any side effect and risk of
corrupting the database as said in MAN page?
B. Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 03:10 PM
тАО09-06-2005 03:10 PM
Re: passwd never expire
Use the following command to disable password aging and account expiry for an individual user:
/usr/lbin/modprpw -m exptm=0,lftm=0,mintm=0,expwarn=0,llog=0
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 12:01 AM
тАО09-07-2005 12:01 AM
Re: passwd never expire
on trusted system.You must aware about your system: trusted or non-trusted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 06:07 PM
тАО09-12-2005 06:07 PM
Re: passwd never expire
My system is not trusted system. Can I use modprpw ?
We could not use SAM, because it has some unexpected behaviour. However we could not add the patch because of some other reasons.
B. Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 06:15 PM
тАО09-12-2005 06:15 PM
Re: passwd never expire
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 07:24 PM
тАО09-12-2005 07:24 PM
Re: passwd never expire
password expiry for one HP-UX user account.
This is possible only in trust mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 12:39 AM
тАО09-13-2005 12:39 AM
Re: passwd never expire
,MNLL is the password aging field.
M - Max life of the password
N - Min life of the password
LL - Date password was last changed
The values in these fields are in base-64, so the easies way to view the real values is with "passwd -s -a" or "logins -x -l".
To disable password aging, just delete the ",MNLL" from the end of the password field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 01:09 AM
тАО09-13-2005 01:09 AM
Re: passwd never expire
John hit the nail on the head. Edit the passwd file and remove the comma and subsequent characters in the coded field.
I have used this method many times without any issues.
Dave