Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 security questions involving sudo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jdhore
Retired Dev
Retired Dev


Joined: 13 Apr 2007
Posts: 106

PostPosted: Thu May 24, 2007 4:24 pm    Post subject: 2 security questions involving sudo Reply with quote

1. I have sudo installed, is there an easy way to add my standard user account as a sudoer without using visudo or manually editing /etc/sudoers (it looks scary and i suck at vi) (i do have Gnome installed if that makes things easier)?

2. I have Gnome installed, and when i run an app that requires root permissions, it doesn't want to popup a box asking for my root password and the only way to run it as root is from the commandline by either su, then the app name or gksu appname. Is there any way to have me be able to launch it under my standard account, and have it popup a box asking for my root password?
Back to top
View user's profile Send private message
joyo222
n00b
n00b


Joined: 18 May 2006
Posts: 44

PostPosted: Thu May 24, 2007 5:26 pm    Post subject: Reply with quote

i can't help you with the gnome stuff, but the first one is easy. just add this one line in /etc/sudoers to give yourself full sudo permissions:
Code:

<your_username>      ALL=(ALL) ALL
Back to top
View user's profile Send private message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 683

PostPosted: Thu May 24, 2007 5:36 pm    Post subject: Reply with quote

Is your user a member of the wheel group? You can find out by typing groups on the command line.
Back to top
View user's profile Send private message
jdhore
Retired Dev
Retired Dev


Joined: 13 Apr 2007
Posts: 106

PostPosted: Thu May 24, 2007 5:58 pm    Post subject: Reply with quote

joyo222 wrote:
i can't help you with the gnome stuff, but the first one is easy. just add this one line in /etc/sudoers to give yourself full sudo permissions:
Code:

<your_username>      ALL=(ALL) ALL


Thank you very much... /me is happy being a sudoer

@BrunnieJim
Yes, my user is a member of the wheel group....but i thought wheel was just for su....
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 6:56 pm    Post subject: Reply with quote

Hi.
jdhore wrote:

@BrunnieJim
Yes, my user is a member of the wheel group....but i thought wheel was just for su....

Does the following extract from /etc/sudoers answer your question? :wink:
Code:
# Uncomment to allow people in group wheel to run all commands
%wheel  ALL=(ALL)       ALL

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum