How to make the user password nonexpiry in Solaris 10?

Hi we got our new preprod servers which is having solaris 10 OS.I have application id "ingres" in which the password should not expired.

previously we have set the password as preprod01 and right now it got expired.We need to have the same password and it shouldn't be changed.

could you please help me on below two things
1)how to set the old password to the ingres userid which is "preprod01"
2)command to make the ingres password non expiry.

Advance thanks for your replies.

:frowning:

man passwd

...
:slight_smile:

passwd -x -1 ingres
1 Like

By default, if you allocate a passwd, it will be non expiry only

This depends on how you are set up. Most sensible organisations will insist that the default is something like "Expires immediately and every 30 days"

These are far to sensitive to allow non-expiry as the default. muraliinfy04 will have the defaults set correctly for their security policy and needs and exception which I think MadeInGermany has supplied.

Robin