user password forever

Hi I am very new for Solaris, I want to make some users' passwords never expired. My ssytem kernel is: 5.8
# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240

Could you make some advice?
Thanks

use the "admintool" and set the required settings... (you need a X forwarding!)

i think it is defined in /etc/default/passwd

regards

  • PRESSY
passwd -n -1 <username>

reborg,
it didn t work ?

output is:

# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240
# passwd -n -1 limaint
passwd: Invalid argument to option -n
Invalid argument to option
#

I think it must be
passwd -x -1 <username>
to turn off password aging.

# passwd -x -1 <username>
passwd: password information changed for <username>

is it a reasonable solution :confused: