[expert] How to use sudo?

2002-07-30 Thread David Guntner
I'd look this up in the man page, but the package doesn't seem to have one I'm trying to use sudo for some tasks that I start up, so that I don't have to do a full su to root in a shell window first and then execute the command that I want to run. However, I can't seem to get the thing

Re: [expert] How to use sudo?

2002-07-30 Thread jipe
On Tue, 30 Jul 2002 10:30:07 -0700 David Guntner [EMAIL PROTECTED] wrote: I'd look this up in the man page, but the package doesn't seem to have one I'm trying to use sudo for some tasks that I start up, so that I don't have to do a full su to root in a shell window first and then

Re: [expert] How to use sudo?

2002-07-30 Thread civileme
David Guntner wrote: I'd look this up in the man page, but the package doesn't seem to have one I'm trying to use sudo for some tasks that I start up, so that I don't have to do a full su to root in a shell window first and then execute the command that I want to run. However, I can't

Re: [expert] How to use sudo?

2002-07-30 Thread David Guntner
civileme grabbed a keyboard and wrote: David Guntner wrote: I've edited /etc/sudoers to allow group wheel to execute all command, and I made sure that my regular user account is part of that group. Then I type something really simple like sudo tail -f /var/log/syslog. It then prompts

Re: [expert] How to use sudo?

2002-07-30 Thread David Guntner
jipe grabbed a keyboard and wrote: On Tue, 30 Jul 2002 10:30:07 -0700 David Guntner [EMAIL PROTECTED] wrote: So, what the heck password does sudo want from me? :-) if you don't need password protection, just add NOPASSWD like this: ME MY_PC = NOPASSWD: MY_COMMAND I saw that note in

Re: [expert] How to use sudo?

2002-07-30 Thread Daniel Woods
type something really simple like sudo tail -f /var/log/syslog. It then prompts me for a password. No matter what password I put in (even when I put in the root password), it tells me the password is wrong. So, what the heck password does sudo want from me? :-) It wants the

Re: [expert] How to use sudo?

2002-07-30 Thread Michael Viron
David, For example, if you are logged in as user linux1, then it wants the password for user linux1. All other passwords will be rejected. This is why people typically give someone sudo root access (with a limited subset of commands they are allowed to run) instead of the root password (at

Re: [expert] How to use sudo?

2002-07-30 Thread Darren King
It should want your password, not the root password. On Wed, 2002-07-31 at 03:30, David Guntner wrote: I'd look this up in the man page, but the package doesn't seem to have one I'm trying to use sudo for some tasks that I start up, so that I don't have to do a full su to root in a

Re: [expert] How to use sudo?

2002-07-30 Thread Vincent Danen
On Tue Jul 30, 2002 at 10:30:07AM -0700, David Guntner wrote: I'd look this up in the man page, but the package doesn't seem to have one Well, the first thing I'd suggest is reading the sudo document on MandrakeSecure: http://www.mandrakesecure.net/en/docs/sudo.php That should answer

Re: [expert] How to use sudo?

2002-07-30 Thread civileme
David Guntner wrote: civileme grabbed a keyboard and wrote: David Guntner wrote: I've edited /etc/sudoers to allow group wheel to execute all command, and I made sure that my regular user account is part of that group. Then I type something really simple like sudo tail -f /var/log/syslog.