LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing a users rights (https://www.linuxquestions.org/questions/linux-newbie-8/changing-a-users-rights-352320/)

newusermike 08-11-2005 05:28 PM

changing a users rights
 
sorry but here is another ridiculous question.

In f4 can someone tell me how to take a user and change his permission to root.
I tried changing the etc/passwd and his group from 500 to 501 but on reboot it gives an error on the xml %gconf.

I guess I'm trying it the old way.

Matir 08-11-2005 07:34 PM

You need to make his uid 0. Of course, then he'll lose ownership of all files, and most likely (with a good config) be unable to login to the GUI.

btmiller 08-11-2005 08:23 PM

And in general it's not a good idea to do day to day work as the superuser. You should use sudo oand/r su to give a user account access to root privs when needed.


All times are GMT -5. The time now is 10:17 PM.