Need to set user account to change password on next login
2007-12-25 5:16:00
the next time they log in for NIS+ accounts.
According to the docs for nistbladm if I set the Max shadow colume field
to zero that should force a password change the next time the
user logs in but it doesn't seem to work.
I ran this command to set it
nistbladm -e shadow=1::0:::: '[name=testadm3]'passwd.org_dir
Here's the entry for the user after running the above command.
niscat passwd | grep testadm3
testadm3:I484y7z9hdlBI:12111:1021:testadmin 1:/home/testadm3:/bin/csh:1::0::::
The 1 means 1 day since Jan. 1 1970 was the last
password change. The 0 in the 3rd. column is the Max # of days to change
passwd. Again, if it's set to 0 this should force a password change
on the next loging by the user but it doesn't.
What am I doing wrong? Help!
Thanks Much.
Dave Martini
LLNL
Comments
Got something to say?
You must be logged in to post a comment.

