Wednesday, November 16, 2011

Solaris: Enable Non Expiry Passwd For Uid

server0084# passwd -s partsftp
partsftp  PS    10/20/11     7    84    28
server0084# passwd -x -1 partsftp
passwd: password information changed for partsftp
server0084# passwd -s partsftp
partsftp  PS
server0084#

server0085# id -a partsftp
uid=8457821(partsftp) gid=45046(partsftp) groups=45046(partsftp)
server0085# passwd -s partsftp
partsftp  PS    10/20/11     7    84    28
server0085# passwd -x -1 partsftp
passwd: password information changed for partsftp
server0085# passwd -s partsftp
partsftp  PS
server0085#