Results 1 to 4 of 4

Thread: useradd

  1. #1
    Just burned his ISO
    Join Date
    Jun 2009
    Posts
    8

    Talking useradd

    Hi all,

    i would like to create a user in my fedora 10 distro and set the user's password to expire in 30 days after which it pormpts the user to change in 10days time failure to which the account is automatically disabled

    was thinking something like

    useradd -e 14 -f 30 newbieAm tryin 2 think like in a mic***st enviroment...lol

  2. #2
    Very good friend of the forum Gitsnik's Avatar
    Join Date
    Jan 2010
    Location
    The Crystal Wind
    Posts
    851

    Default

    Check the documentation at the doco project, at the top there is mention of defaults:

    Linux Shadow Password HOWTO: Putting the Shadow Suite to use.

    That should do what you are asking for.
    Still not underestimating the power...

    There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.

  3. #3
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by ignited View Post
    Hi all,
    i would like to create a user in my fedora 10 distro and set the user's password to expire in 30 days after which it pormpts the user to change in 10days time failure to which the account is automatically disabled
    was thinking something like
    useradd -e 14 -f 30 newbieAm tryin 2 think like in a mic***st enviroment...lol
    Is there a reason that you are not asking such things at the fedora site?
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  4. #4
    Just burned his ISO
    Join Date
    Jun 2009
    Posts
    8

    Thumbs up

    Quote Originally Posted by Gitsnik View Post
    Check the documentation at the doco project, at the top there is mention of defaults:

    Linux Shadow Password HOWTO: Putting the Shadow Suite to use.[/url]

    That should do what you are asking for.
    Thanks a lot Gitsnik... the documentation has everything i need..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •