LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Root permissions for a user (https://www.linuxquestions.org/questions/linux-newbie-8/root-permissions-for-a-user-237216/)

Neutron1998 09-30-2004 04:19 PM

Root permissions for a user
 
Is there a way I can set up myself with root permissions? I just got Linux installed (Mandrake 10.1) and if I'm logged in as myself whenever I go to change a setting I get prompted for the root password. Also, I can't run any scripts because I'm not logged in as root. Is there a way to fix that? I did add myself to the root group.

Mega Man X 09-30-2004 04:28 PM

Look for the "sudo" command:

http://www.courtesan.com/sudo/man/sudo.html

however, the hole point of Linux is to protect the system by not using root unless necessary. You don't need to logout and in again to become root, just open a terminal and type "su". If you really want to play around with a user with root privileges, just login as root all the time... pretty bad idea though...


All times are GMT -5. The time now is 04:46 AM.