LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Root password changing (https://www.linuxquestions.org/questions/linux-server-73/root-password-changing-4175509932/)

sagar666 07-03-2014 12:32 AM

Root password changing
 
Hi,

I created a user xxx and given a sudo permission to xxx user. But xxx user can change a root password by sudo passwd root command. I dont want to change my root password by any user even user has sudo access. How to do this?

pan64 07-03-2014 12:36 AM

you need to restrict the sudo access to allow only what is really necessary, and nothing else. That will disallow the user to modify root password.


All times are GMT -5. The time now is 10:14 AM.