Results 1 to 10 of 11
hey guys,
I see that the title says it all, so how can I do it
so that I run for example sudo yum install --------- without su - and ...
- 06-08-2008 #1
how to add myself to sudoers?
hey guys,
I see that the title says it all, so how can I do it
so that I run for example sudo yum install --------- without su - and password ???Dual Booting Ubuntu 10.04, Windows 7
Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card
You are registered Linux user number 490788
Happy Linuxing
- 06-08-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
What happpened with the other thread? How much progress have you made?
http://www.linuxforums.org/forum/red...coomand-2.html
- 06-08-2008 #3
no body even looked at it after I posted my last post!!
Dual Booting Ubuntu 10.04, Windows 7
Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card
You are registered Linux user number 490788
Happy Linuxing
- 06-08-2008 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
If you want to use visudo, you need to become familiar with vi first. The basic commands are -
- i - insert mode
- esc - exit insert mode
- :wq - write and quit
- 06-08-2008 #5
There's a useful sudoers manual here.
Pete
- 06-08-2008 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,097
Here's another good sudo howto that might help get you up and running:
Sudo Howto - Waikato Linux Users Groupoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 06-17-2008 #7Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
Sudo Permissions
Hey Buddy,
use the following steps to enable sudo permission for the user.
(vi /etc/sudoers )file logging in as root. add the user as mentioned in red tags..
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
%user ALL=(ALL) NOPASSWD:ALL
Now that ur sudo is active. !!!!
Regards,
~Destined
- 06-17-2008 #8Just Joined!
- Join Date
- Jan 2006
- Posts
- 57
Check this. It can't be more analytic :P
Fedora 9 Installation Guide - Configuring sudo
- 06-17-2008 #9Linux Newbie
- Join Date
- Jun 2008
- Location
- Georgia, USA
- Posts
- 117
This is the way I go about it in Centos:
Go to /etc/sudoers and change:
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
to
## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
Then go to /etc/group and add your username to the wheels group (assuming
your username is user101):
wheel
:10:root,user101
However, you need to be either root or a super user (sudo user) in order for you to edit these two files.
Thanks.
--Willie
- 06-17-2008 #10
In case it isn't obvious, the red line above will provide full root access to EVERY regular user (every user in the "user" group). And there isn't even a need to enter any password to reconfirm one's own identity!
Any regular user can simply enter the command "sudo su" and he's logged in as root. No password of any sort needed.Isaac Kuo, ICQ 29055726 or Yahoo mechdan



