Quote:
Hi, Welcome to LQ!
LQ has a fantastic search function that may save you time waiting for an answer to a popular question.
With over 3 million posts to search it's possible the answer has been given.
|
I wonder if you set the age of passwod renewal, that might stop it.
my chage script...
Code:
#!/bin/bash
# ~/bin/chage
echo " ~/bin/chage"
echo ""
# Usage: chage [options] user
#
# Options:
# -d, --lastday LAST_DAY set last password change to LAST_DAY
# -E, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
# -h, --help display this help message and exit
# -I, --inactive INACTIVE set password inactive after expiration
# to INACTIVE
# -l, --list show account aging information
# -m, --mindays MIN_DAYS set minimum number of days before password
# change to MIN_DAYS
# -M, --maxdays MAX_DAYS set maximim number of days before password
# change to MAX_DAYS
# -W, --warndays WARN_DAYS set expiration warning days to WARN_DAYS
sudo chage -E -1 glenn
sudo chage -W5 glenn
sudo chage -E -1 root
sudo chage -W5 root
for more info type
man chage
regards Glenn