Enabling 'SUDO'

Status
Not open for further replies.

anantkhaitan

Burning Bright
I m using some GUI steps to enable SUDO in distros like Fedora for a particular user

1>Open Terminal, type

2>Open a File Manager like
# nautilus

3>Goto /etc directory and right click>Properties on 'sudoers' file

4>Change the Owner Access permission to 'Read and Write'. And close the window.

5>Double click and open the file..and search for this
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
below that include this
<username> ALL=(ALL) ALL
Instead of <usename> type ur preferred username
NOTE: U can add more than one user

6>Save and close. Now again change the Owner Access permission to 'Read only'

7>Thats all.

I know there are CLI step using chmod but this may be easy to understand

courtesy kaustav_geek
 

mehulved

18 Till I Die............
Aah, why go through all this when you can do it in 4 steps
Code:
su
visudo
make whatever changes you want
save it.
 
Status
Not open for further replies.
Top Bottom