Under linux how to limit the average user to change the password

  • In order to facilitate linux administrators to manage all users, how to limit the average user to change the password?

     

    Solution:

     

    Prohibit ordinary users to change the password:

     

    chmod 511 /usr/bin/passwd

     

    To allow ordinary users to change passwords:

     

    chmod 4511 /usr/bin/passwd

Guess you like

Origin www.cnblogs.com/eos666/p/11288036.html