반응형
Here is how you can enable ‘sudo’ in Fedora so that you don’t have to login as root everytime you need to run a command as root. Open up terminal and type in the following:
su #enter root password followed by this one
yum install nano
nano /etc/sudoers
Now, scroll down and you should see something like:
root ALL=(ALL) ALL
Just below that line, add this:
YOUR_USER_NAME_HERE ALL=(ALL) ALL
For eg, my username is “khattam”, so I added the line:
khattam ALL=(ALL) ALL
If you are not sure what your username is, open up a new terminal window and type in ‘whoami’.
Save by pressing Ctrl+O followed by Enter. Exit nano by pressing Ctrl+X. Exit from root by typing in “exit”.
Now, you will be able to use sudo.
반응형
'리눅스관련' 카테고리의 다른 글
Centos 한글입출력 (0) | 2012.07.06 |
---|---|
Fedora 17 nVidia Drivers Install Guide (disable nouveau driver) (0) | 2012.06.06 |
Fedora17 설치후 해줘야될 기본 (5) | 2012.06.03 |
Fedora15/16/17, Centos) install VirtualBox 최신버전 (0) | 2012.06.03 |
Fedora17) install Google Chrome (0) | 2012.06.03 |