Operating System - HP-UX
1753510 Members
5142 Online
108795 Solutions
New Discussion юеВ

Re: Going trusted - what accounts will expire?

 
SOLVED
Go to solution
John Jeffrey
Occasional Advisor

Going trusted - what accounts will expire?

I need to go trusted on my 11.00 systems.

I have an 11.00 test system, but it only has a few accounts on it. Going trusted does not expire all accounts... but it does some. How can I determine which accounts will expire and which will not? My production system has over 1,500 accounts.

I searched and found several threads similar to this, but none could define /exactly/ which accounts will be forced to change their passwords, and which will not. What's the algorithm?

Just some more data - currently, I enter trusted mode via SAM. It does not prompt me to expire all passwords as part of this process, it just says "Ok" when its done. When the process is complete, Password Aging remains disabled. On the SAM -> Password Aging Policies screen I have the option enabling agins=g as well as Expiring All passwords. I will definitely be enabling password aging. I think I'd like to skip expiring all passwords, if I can.

Thanks in advance.
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Going trusted - what accounts will expire?

Use SAM to do the conversion and none of the accounts will be expired.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: Going trusted - what accounts will expire?

Shalom,

There is a report on passwords passwd -sa that can give you an idea of the status of passwords.

The default is 90 days. Any account that has not had a password change during that period risks being expired.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: Going trusted - what accounts will expire?

Wait a minute - I was reading the last part of your question while I was typing.

It is my understanding that using SAM to do the conversion is not supposed to expire all passwords. Are you saying that you have experience to the contrary?


Pete

Pete
John Jeffrey
Occasional Advisor

Re: Going trusted - what accounts will expire?

As I said, this test system has few accounts on it. Before going trusted, I created 3 test accounts.

test1 was forced to change their password on next login.

test2 was set to expire in 1 day/week (passwd -x 1 test2)

test3 was locked.

After the trusted conversion via SAM, none of the test accounts were expired (well, test3 couldn't login, obviously). However, my personal system account was.

Now - I don't recall if I had set password expiry on my account. However, after the trusted conversion, system-wide password expiry was disabled, anyway. I don't understand why my personal account expired.
Bill Hassell
Honored Contributor

Re: Going trusted - what accounts will expire?

This may be a patch issue for the security components. Run the security_patch_check program and add the missing patches. However, you can bypass SAM and just issue the two commands:

tsconvert -c
/usr/lbin/modprpw -V

This will convert the system and then refresh the expiration date for every login.


Bill Hassell, sysadmin
doug hosking
Esteemed Contributor
Solution

Re: Going trusted - what accounts will expire?

Bill's 'modprpw' reply is likely to be the most helpful in your case, given that you don't want anything to expire.

Regarding why the conversion can expire passwords, the reason is that the password complexity rules can differ between standard mode and trusted mode. Since it is not possible to decrypt UNIX passwords in any practical way, the only way to be sure that the new complexity rules are followed soon after the conversion is to force everyone to change their passwords, at which time the new passwords can be tested for compliance with the newly configured complexity rules.
John Jeffrey
Occasional Advisor

Re: Going trusted - what accounts will expire?

Thanks for the input!