How to disable the password change request forever?

Hello

I have Solaris 10 OS on my machines. I don't ever want to change the password I've set - that's why I set MINWEEKS and MAXWEEKS to "0" in /etc/default/passwd and thereafter I've reset the password.

But what a surprise: today I could not remotely login on the machine and got the message:

$ su -

Password:

su: Password for user 'root' has expired - use passwd(1) to update it

--

Please, could you advise me how to definitely disable this feature?

Thanks

Message was edited by:

pentscho

[572 byte] By [pentschoa] at [2007-11-27 10:11:41]
# 1

hi pentscho

use: # passwd -x -1 <username>for specified users.

if you want it to disable for all, modify /default/passwd

but attention: minweeks has to be smaller than maxweeks !

try it with -1 and 0

cheers, jenny

************************

the sweater of a woman fits perfect,

when the men gasp for air. ;-)

Jenny_Sa at 2007-7-28 15:15:13 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Hello jenny

thanks a lot for the advise, I hope it works.

cheers

pentscho

pentschoa at 2007-7-28 15:15:13 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

gruetzie, pentscho

i'll hope it too. ;-)*g*

give a sign, if you got progress.

cheers, jenny

Jenny_Sa at 2007-7-28 15:15:13 > top of Java-index,Solaris Operating System,Solaris 10 Features...