How to change default "days until change allowed" for useradd?

How to change default "days until change allowed" for useradd?

Post by Oliver Haus » Fri, 25 Apr 1997 04:00:00



How can I change to default value for "days until change allowed" in
/etc/shadow ?
When I create a new account with useradd, this value is set to 10000,
so that this user cannot change his password.

thx

Oliver

 
 
 

1. Using "if" in "ksh" to change "for loop" values....

Hello,

I have a script that contains this(shown below).  My problem is how do I
change
the values in the "for loop" statement? I tried doing another "if"
statement
but unluckilly I was unsuccessful. Needs some help.

Thanks in advance.

albertus:)

A part of my script.
####
if [[ $1 == "file1" && $2 == "name1" && $# == 2 ]]
then
  some commands.

  var=`commands`

  #If var=A, then my for loop will be "for i in 1 2 3"
  #If var=B, then my for loop will be "for i in 1 2 3 4 5"
  #If var=C, then my for loop will be "for i in 1 2 3 4 5 6 7 8 9 10
  #and so on...  I need to do this with "only one"
  #"for loop" statement.  Any ideas....

  for i in ???
  do
     some commands
  done

else
  some commands...
fi
###

2. Impact linux/students

3. """the last day of sale"""

4. SYSOUT & ERROR Logging in Korn Shell - Help Needed!

5. GETSERVBYNAME()????????????????????"""""""""""""

6. Too much on the stack?

7. "netstat -nr" should show "default" or "0.0.0.0"?

8. Ignite/UX for FreeBSD

9. change all "abc" to "123"

10. CGI "newbie" and change unix password method="POST"

11. Why my "chmod" command can't change the "/home "

12. Changing the "HERALD" not the "MOTD"

13. "Cancel" == "Retry" when changing Apache user