Re: [Eug-lug] Sudoers question

2007-04-04 Thread Martin Kelly
That line worked... thanks :). Allen Brown wrote: Michael Miller wrote: I advise you to read the man pages for your distribution. You there may be a sudoers group setup that you may need to be in. -Miller I have found sudo to be essential, but a PITA. (See first defn) http://www.acronymfin

Re: [Eug-lug] Sudoers question

2007-04-04 Thread Bob Miller
Allen Brown wrote: > Another complication is that if your sudo is configured to give > passwordless validation for 5 minutes after you have validated > once, it becomes hard to know if you have your configuration > working correctly. Use sudo -k to forget your password and force a new authenticat

Re: [Eug-lug] Sudoers question

2007-04-04 Thread Allen Brown
Michael Miller wrote: > I advise you to read the man pages for your distribution. You there > may be a sudoers group setup that you may need to be in. > > -Miller I have found sudo to be essential, but a PITA. (See first defn) http://www.acronymfinder.com/af-query.asp?Acronym=PITA&Find=Find&Str

Re: [Eug-lug] Sudoers question

2007-04-03 Thread aomighty
Yes, sudo is installed. On 4/3/07, Michael Miller <[EMAIL PROTECTED]> wrote: Have you checked to see if sudo is installed? I checked for the sudo or sudoers man page. "man sudoers" on redhat biased systems with sudo installed will give you syntax information. I did the check on a debian syste

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Michael Miller
Have you checked to see if sudo is installed? I checked for the sudo or sudoers man page. "man sudoers" on redhat biased systems with sudo installed will give you syntax information. I did the check on a debian system, only to find sudo not installed. -Miller __

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Ben Barrett
Well, Neil sets it straight again, nicely done :) My make wheel & grunt advice is tongue-in-cheek, but I think you'll find that this stuff does have to do with [security] hardening, so even though many recent distros include it, it prolly hasn't gotten into debian yet (or is in some meta-package).

Re: [Eug-lug] Sudoers question

2007-04-03 Thread aomighty
1) My system allows everyone to become root. It's Debian Etch, btw. 2) The man page doesn't say anything about syntax... already checked. 3) Thanks, I'll use sudo -l. On 4/3/07, Neil Parker <[EMAIL PROTECTED]> wrote: Ben Barrett wrote, >IIRC, wheel was intended to match the GID on su, so that

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Neil Parker
Ben Barrett wrote, >IIRC, wheel was intended to match the GID on su, so that non-group >members cannot even become root, a hardening tactic that goes along >with disallowing any direct root logins. > >Why not make wheel? You'll feel so evolved; groupadd wheel and grunt >with glee ;) >(then again,

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Michael Miller
I advise you to read the man pages for your distribution. You there may be a sudoers group setup that you may need to be in. -Miller ___ EUGLUG mailing list euglug@euglug.org http://www.euglug.org/mailman/listinfo/euglug

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Ben Barrett
IIRC, wheel was intended to match the GID on su, so that non-group members cannot even become root, a hardening tactic that goes along with disallowing any direct root logins. Why not make wheel? You'll feel so evolved; groupadd wheel and grunt with glee ;) (then again, what good is wheel if you

Re: [Eug-lug] Sudoers question

2007-04-03 Thread Martin Kelly
Why would I? I thought wheel was just an example group for within the sudoers file. wheel doesn't even exist on my system. roger wrote: Forgive me if I'm wrong on this one, but maybe you also need to be within the group "wheel" (/etc/groups)? On Mon, 2007-04-02 at 16:31 -0700, Martin Kelly

Re: [Eug-lug] Sudoers question

2007-04-03 Thread roger
Forgive me if I'm wrong on this one, but maybe you also need to be within the group "wheel" (/etc/groups)? On Mon, 2007-04-02 at 16:31 -0700, Martin Kelly wrote: > Including that line (and none else regarding my user) makes it so I'm > not able to run any commands as sudo. > > If I include bot

Re: [Eug-lug] Sudoers question

2007-04-02 Thread Martin Kelly
Including that line (and none else regarding my user) makes it so I'm not able to run any commands as sudo. If I include both that line and the "martin ALL = (ALL) ALL" line, I am able to run all commands without a password. roger wrote: Include the following within your /etc/sudoers and rep

Re: [Eug-lug] Sudoers question

2007-04-02 Thread roger
Include the following within your /etc/sudoers and replace "roger" & "localhost2" for your own environment. roger localhost2 = NOPASSWD: /bin/nice, /usr/bin/nice, /sbin/losetup, /bin/mount, /bin/umount Should be able to run the above commands just like any other user allowed commands. Oh, and

Re: [Eug-lug] Sudoers question

2007-04-02 Thread Martin Kelly
Hmm... that didn't work...syntax error. But yes, that's the kind of thing I want. Alan wrote: What should I put in my sudoers file so that I can run any command as if I were root with a password and a few other commands as root without a password? Pretty much, I'd like to have full sudo access

Re: [Eug-lug] Sudoers question

2007-04-02 Thread Alan
> What should I put in my sudoers file so that I can run any command as if > I were root with a password and a few other commands as root without a > password? > > Pretty much, I'd like to have full sudo access but be able to reboot and > poweroff my computer without a password. > > Currently, I ha

[Eug-lug] Sudoers question

2007-04-02 Thread Martin Kelly
What should I put in my sudoers file so that I can run any command as if I were root with a password and a few other commands as root without a password? Pretty much, I'd like to have full sudo access but be able to reboot and poweroff my computer without a password. Currently, I have: marti