Operating System - HP-UX
1834621 Members
2406 Online
110069 Solutions
New Discussion

Trusted system on 11.11 - don't expire password for 1 user

 
SOLVED
Go to solution
RobertCarback
Frequent Advisor

Trusted system on 11.11 - don't expire password for 1 user

I have an 11.11 server that is a trusted system. How can I change the security on one user so that the password never expires?
9 REPLIES 9
Florian Heigl (new acc)
Honored Contributor

Re: Trusted system on 11.11 - don't expire password for 1 user

It _seems_ You need to use

usermod -f 1 -e '''' username


Sorry, never ran a trusted system :)
yesterday I stood at the edge. Today I'm one step ahead.
Coolmar
Esteemed Contributor

Re: Trusted system on 11.11 - don't expire password for 1 user

You can also go into "sam" then user accounts and then select the user you want to modify and somewhere in there you can change it (Sorry don't have trusted here but did it many times at other sites with trusted).

S.
Christian Tremblay
Trusted Contributor

Re: Trusted system on 11.11 - don't expire password for 1 user

check modprpw to manage passwords on trusted systems:

man modprpw

Chris
RobertCarback
Frequent Advisor

Re: Trusted system on 11.11 - don't expire password for 1 user

usermod -f 1 -e '''' username does not work --
'Cannot interpret date:'

RobertCarback
Frequent Advisor

Re: Trusted system on 11.11 - don't expire password for 1 user

I used modprpw -m acctexp=0 username per man pages and now getprpw shows the value as acctexp=1168283616.
Any idea what that means?
Christian Tremblay
Trusted Contributor

Re: Trusted system on 11.11 - don't expire password for 1 user

UNIX time 1168283616 is 01/08/2007 7:13pm GMT

there is a helpfull convert page at:
http://soft.zoneo.net/Unixtime/index.php
RobertCarback
Frequent Advisor

Re: Trusted system on 11.11 - don't expire password for 1 user

Okay so that says it expires today. I want it to never expire. Anyone have any other ideas?
Stan PIetkiewicz_1
Occasional Advisor
Solution

Re: Trusted system on 11.11 - don't expire password for 1 user

I use SAM .. users .. modify users security policy... passwd aging. enabled is the default .. change to disabled for that user.
It is statistically possible that my opinion is the same as someone else's, but it is still my opinion.
RobertCarback
Frequent Advisor

Re: Trusted system on 11.11 - don't expire password for 1 user

Thanks. closed