Linux Commands to manage Local Accounts – useradd, usermod, chage & passwd

You may also like...

1 Response

  1. nerdtron says:

    instead of using the echo -e command to set the password, the passwd command has an option to accept input from the Standard input. This is helpful for script and batch changing passwords for users:

    echo “newpass” | passwd –stdin username

Leave a Reply

Your email address will not be published. Required fields are marked *