PDA

View Full Version : anyone know how to add a sudoer



swoll1980
May 9th, 2008, 11:27 PM
can't figure it out man visudo isn't helping either

cardinals_fan
May 10th, 2008, 12:16 AM
can't figure it out man visudo isn't helping either
http://www.gratisoft.us/sudo/man/visudo.html

What doesn't work?

EDIT: You might want to look at this... http://www.gratisoft.us/sudo/man/sudoers.html

swoll1980
May 10th, 2008, 01:43 AM
this is what I got from typing man visudo in the terminal. It doesn't really tell how to add a sudoer. Maybe I'm dumb or something :confused:

cardinals_fan
May 10th, 2008, 02:29 AM
It's odd, which is why I never bother. Just use su. If you need sudo, check this out: http://www.onlamp.com/pub/a/bsd/2002/08/29/Big_Scary_Daemons.html?page=1

Xappe
May 10th, 2008, 02:38 AM
if you want the user to get full sudo rights, just add the username to the admin group.
<edit> sorry didn't realize you did not discuss ubuntu </edit>

MONODA
May 10th, 2008, 04:28 PM
you need to install sudo, it isnt installed by default. Try launching sysinstall and install sudo from there, I think you should be able to do it that way. If not, try uswing the normal package managemnt system

swoll1980
May 10th, 2008, 10:40 PM
you need to install sudo, it isnt installed by default. Try launching sysinstall and install sudo from there, I think you should be able to do it that way. If not, try uswing the normal package managemnt system

I got it installed. The problem I'm having is that I can't figure out how to add sudoers to the file. su is a pain because I can't open apps with it.
like if I try to open konquerer it will give me a 'can't open screen error'

LLS
May 10th, 2008, 11:55 PM
man sudoers 5 explains some about users and user-groups etc.

cardinals_fan
May 11th, 2008, 01:46 AM
I got it installed. The problem I'm having is that I can't figure out how to add sudoers to the file. su is a pain because I can't open apps with it.
like if I try to open konquerer it will give me a 'can't open screen error'
Did you read this: http://www.onlamp.com/pub/a/bsd/2002/08/29/Big_Scary_Daemons.html?page=1 ?

MONODA
May 11th, 2008, 05:46 AM
this may help you: http://wiki.archlinux.org/index.php/Sudo

swoll1980
May 11th, 2008, 10:57 PM
Did you read this: http://www.onlamp.com/pub/a/bsd/2002/08/29/Big_Scary_Daemons.html?page=1 ?

I got it now. Thanks!

cardinals_fan
May 11th, 2008, 11:45 PM
I got it now. Thanks!
No problem.