Re: passwordless sudo

2011-11-30 Thread Greg Woods
On Wed, 2011-11-30 at 15:32 -0500, Mike Williams wrote: > > Not sure if there are other reasons to add a user to the wheel group. > Don't think there is any other use for the wheel group. Maybe not for the OP, but there is also a pam_wheel module that will succeed only if the invoking user is in

Re: passwordless sudo

2011-11-30 Thread Aaron Konstam
On Wed, 2011-11-30 at 10:49 -0600, Mike Chambers wrote: > On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > > Hi, list! > > I'm trying to set up passwordless sudo for myself. It's a shiny brand > > new fresh-installed F16. During first boot I had been asked to creat

Re: passwordless sudo

2011-11-30 Thread Mike Williams
Forwarding message sent directly to me instead of list. On Wed, Nov 30, 2011 at 3:40 PM, Terry Polzin wrote: > On Wed, 2011-11-30 at 15:32 -0500, Mike Williams wrote: >> On Wed, Nov 30, 2011 at 12:36 PM, Marko Vojinovic wrote: >> > Wouldn't this actually enable passwordle

Re: passwordless sudo

2011-11-30 Thread Mike Williams
On Wed, Nov 30, 2011 at 12:36 PM, Marko Vojinovic wrote: > Wouldn't this actually enable passwordless sudo for all members of the wheel > group, rather than just for one user? > > What would the config look like if the OP wants to be both a member of the > wheel group, and hav

Re: passwordless sudo

2011-11-30 Thread Mike Chambers
On Wed, 2011-11-30 at 17:36 +, Marko Vojinovic wrote: > On Wednesday 30 November 2011 10:49:40 Mike Chambers wrote: > > On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > > > Hi, list! > > > I'm trying to set up passwordless sudo for myself. It's a shin

Re: passwordless sudo

2011-11-30 Thread Marko Vojinovic
On Wednesday 30 November 2011 10:49:40 Mike Chambers wrote: > On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > > Hi, list! > > I'm trying to set up passwordless sudo for myself. It's a shiny brand > > new fresh-installed F16. During first boot I had been asked to cr

Re: passwordless sudo

2011-11-30 Thread Mike Chambers
On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > Hi, list! > I'm trying to set up passwordless sudo for myself. It's a shiny brand > new fresh-installed F16. During first boot I had been asked to create > a new user and put him to administrative group. I answered yes and &

Re: passwordless sudo

2011-11-30 Thread Hiisi
On 30 November 2011 17:09, Aaron Konstam wrote: > On Wed, 2011-11-30 at 14:04 +0300, Hiisi wrote: >> On 30 November 2011 15:01, Digvijay Patankar wrote: >> > Yes it does. It has something to do with proper format which is ensured by >> > visudo but not vi. >> > >> > On Wed, Nov 30, 2011 at 4:29 P

Re: passwordless sudo

2011-11-30 Thread Aaron Konstam
On Wed, 2011-11-30 at 14:04 +0300, Hiisi wrote: > On 30 November 2011 15:01, Digvijay Patankar wrote: > > Yes it does. It has something to do with proper format which is ensured by > > visudo but not vi. > > > > On Wed, Nov 30, 2011 at 4:29 PM, Hiisi wrote: > >> > >> On 30 November 2011 14:45, Di

Re: passwordless sudo

2011-11-30 Thread Aaron Konstam
On Wed, 2011-11-30 at 10:44 +, Rich Boyce wrote: > On 30/11/11 10:38, Hiisi wrote: > > Hi, list! > > I'm trying to set up passwordless sudo for myself. It's a shiny brand > > new fresh-installed F16. During first boot I had been asked to create > > a n

Re: passwordless sudo

2011-11-30 Thread Aaron Konstam
On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > Hi, list! > I'm trying to set up passwordless sudo for myself. It's a shiny brand > new fresh-installed F16. During first boot I had been asked to create > a new user and put him to administrative group. I answered yes and &

Re: passwordless sudo

2011-11-30 Thread Reindl Harald
Am 30.11.2011 12:37, schrieb Emilio Lopez: >> I'm trying to set up passwordless sudo for myself > > Im not familiar with sudo, but doing it, sudo without password, is not > a bad practice that allow any program > to run anything as root without your knowledge, (calling s

Re: passwordless sudo

2011-11-30 Thread Emilio Lopez
> I'm trying to set up passwordless sudo for myself Im not familiar with sudo, but doing it, sudo without password, is not a bad practice that allow any program to run anything as root without your knowledge, (calling sudo internally)??? -- users mailing list users@lists.fedoraprojec

Re: passwordless sudo

2011-11-30 Thread Hiisi
On 30 November 2011 15:15, Terry Polzin wrote: > When you add yourself or another and add them to the administrators > group they become a member of group wheel.  Run visudo find the no > password line for the wheel group and uncomment it and comment the other > one. Thank you, Terry. You did it!

Re: passwordless sudo

2011-11-30 Thread Terry Polzin
On Wed, 2011-11-30 at 13:38 +0300, Hiisi wrote: > Hi, list! > I'm trying to set up passwordless sudo for myself. It's a shiny brand > new fresh-installed F16. During first boot I had been asked to create > a new user and put him to administrative group. I answered yes and &

Re: passwordless sudo

2011-11-30 Thread Hiisi
On 30 November 2011 15:01, Digvijay Patankar wrote: > Yes it does. It has something to do with proper format which is ensured by > visudo but not vi. > > On Wed, Nov 30, 2011 at 4:29 PM, Hiisi wrote: >> >> On 30 November 2011 14:45, Digvijay Patankar wrote: >> > >> > Make sure you are using visu

Re: passwordless sudo

2011-11-30 Thread Digvijay Patankar
Yes it does. It has something to do with proper format which is ensured by visudo but not vi. On Wed, Nov 30, 2011 at 4:29 PM, Hiisi wrote: > On 30 November 2011 14:45, Digvijay Patankar wrote: > > > > Make sure you are using visudo to edit sudoers file. > > > > Does it matter? > -- > Hiisi. >

Re: passwordless sudo

2011-11-30 Thread Reindl Harald
Am 30.11.2011 11:59, schrieb Hiisi: > On 30 November 2011 14:45, Digvijay Patankar wrote: >> >> Make sure you are using visudo to edit sudoers file. >> > > Does it matter? well top of the file there are comments: ## This file must be edited with the 'visudo' command. signature.asc Descript

Re: passwordless sudo

2011-11-30 Thread Hiisi
On 30 November 2011 14:45, Digvijay Patankar wrote: > > Make sure you are using visudo to edit sudoers file. > Does it matter? -- Hiisi. Registered Linux User #487982. Be counted at: http://counter.li.org/ -- Spandex is a privilege, not a right. -- users mailing list users@lists.fedoraproject.o

Re: passwordless sudo

2011-11-30 Thread Digvijay Patankar
On Wed, Nov 30, 2011 at 4:08 PM, Hiisi wrote: > Hi, list! > I'm trying to set up passwordless sudo for myself. It's a shiny brand > new fresh-installed F16. During first boot I had been asked to create > a new user and put him to administrative group. I answered yes and &

Re: passwordless sudo

2011-11-30 Thread Rich Boyce
On 30/11/11 10:38, Hiisi wrote: > Hi, list! > I'm trying to set up passwordless sudo for myself. It's a shiny brand > new fresh-installed F16. During first boot I had been asked to create > a new user and put him to administrative group. I answered yes and > hence my use

Re: passwordless sudo

2011-11-30 Thread Reindl Harald
Am 30.11.2011 11:38, schrieb Hiisi: > However in /etc/sudoers there's not a mention of my user. I've added the > following string to it: hiisi ALL=(ALL) NOPASSWD: ALL > Apparently it has no effect - I have to enter password each time sudo > is invoked for the first time. What the heck and

passwordless sudo

2011-11-30 Thread Hiisi
Hi, list! I'm trying to set up passwordless sudo for myself. It's a shiny brand new fresh-installed F16. During first boot I had been asked to create a new user and put him to administrative group. I answered yes and hence my user is able to run commands using sudo. However in /etc/sudoe