Need to set user account to change password on next login

From: Dave Martini 1 (martini@raider.llnl.gov)
Date: Fri Aug 12 2005 - 15:17:16 EDT


I'm trying to set a user account so they have to change their password
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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:17 EDT