LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do you make the user have root capabilities??? (https://www.linuxquestions.org/questions/linux-general-1/how-do-you-make-the-user-have-root-capabilities-226940/)

chutsu 09-05-2004 10:34 AM

How do you make the user have root capabilities???
 
Really stupid question.......how do you make like the user have root capability so that the user doesn't need to su all the time!!!

trickykid 09-05-2004 10:36 AM

Setup sudo.

You don't want to have users with root capabilities outside of using either su or sudo. But sudo is probably the best option and safest.

qwijibow 09-05-2004 11:30 AM

sudo is good, it stops you having to enter the root password all the time, but you still have to give the "sudo" command....

provided you want to allow ALL users to have root access to certain programs, you can set suid.

for example, to allow all users to load kernel modules without being root
chmod +s /path/to/modprobe

now whenever anormal user runs modprobe, it runs with root access.


All times are GMT -5. The time now is 06:58 PM.