LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Give Root Access To A Normal User (http://www.linuxquestions.org/questions/linux-security-4/give-root-access-to-a-normal-user-253599/)

waknauss 11-11-2004 08:50 AM

Give Root Access To A Normal User
 
I want to give a normal user root access on my network but I don' t want to have to su in every time.
But I don't know how.

I'm running RedHat 7 on my network. I tried using some program to do it but it didn't work.:confused: :confused:

ranger_nemo 11-11-2004 08:56 AM

sudo ? You add the user to the /etc/sudoers file, then stick "sudo " in front of any command you want to run. It will ask for the user's password, then run the command if the password is correct. It will "remember" the password for awhile, so if you have a couple commands to run, it won't ask every time.

It's really a bad idea to run a computer for daily use with root permission.

waknauss 11-11-2004 09:00 AM

I don't get it
 
I tried using sudo but it only works in bash shell


All times are GMT -5. The time now is 07:12 AM.