How do I set a user password in Linux?



  • # /usr/bin/passwd testuser
    Changing password for user testuser.
    New UNIX password:
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.
    

    The same command is used to change a password.


Log in to reply
 

© Lightnetics 2024