10 passwd command examples in Linux

You may also like...

4 Responses

  1. RoseHosting says:

    Great examples!

    The following can be used to change user password using shell script.
    echo -e "newpasswordnnewpassword" | passwd username

  2. Abhi says:

    Can i make same current asking policy for root when using passwd command as root????

  1. February 11, 2016

    […] For more details on passwd command please refer ‘10 passwd command examples in Linux‘ […]

Leave a Reply

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