how to enable account expired
Posted: Mon Sep 11, 2006 3:22 am
i enabled account expiration for one user and it stopped the user from logging it after password expired. i wanted to enable the user account again. i now opened the /etc/shadow file and changed one of the values, day before required to 99999 which was 20 earlier...is this the proper way of doing it? if i want to set the pasword expiration again to 25 days,,,how do i do this?
i have a line in /etc/shadow
i have set number of days before password is changed to zero
number of days before can be changed: 20
number of days after password should be changed: 20
number of days before warning is provided: 20
number of days after account expires after password expiration: 1
but it still keeps saying when i put su rag, "You are required to change your password immediately (root enforced)". why?
i have a line in /etc/shadow
Code: Select all
rag:passwd.:0:18:20:20:1::number of days before can be changed: 20
number of days after password should be changed: 20
number of days before warning is provided: 20
number of days after account expires after password expiration: 1
but it still keeps saying when i put su rag, "You are required to change your password immediately (root enforced)". why?