Re: sudo -K/-k ineffective

2010-08-01 Thread Gurpreet Singh
I don't see anything suspicious in the timestamp directory: foo% sudo ls -l /var/run/sudo/ total 12 drwx-- 2 root wheel 512 Aug 2 01:06 gurpreet drwx-- 2 root wheel 512 Aug 2 00:37 other drwx-- 2 root wheel 512 Aug 2 00:37 third foo% sudo ls -l /var/run/sudo/gurpreet total

Re: sudo -K/-k ineffective

2010-08-01 Thread Michael Grünewald
Hi, Lowell Gilbert wrote: me writes: Upon doing sudo as a normal user (non-root), sudo asks for password only once, subsequent invocations of sudo doesn't ask for password - even though I do sudo -k or sudo -K in between. Although sudo starts asking for password after the time stamp expiry.

Re: sudo -K/-k ineffective

2010-08-01 Thread Lowell Gilbert
me writes: > Hi, > > Upon doing sudo as a normal user (non-root), sudo asks for > password only once, subsequent invocations of sudo doesn't ask for password > - even though I do sudo -k or sudo -K in between. > Although sudo starts asking for password after the time stamp expiry. > > in other w

Re: sudo -K/-k ineffective

2010-07-31 Thread Chris Rees
... I'm no longer going to answer questions past 11 o'clock GMT. Sorry! Chris Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 31 Jul 2010 03:05, "Michael Toth" wrote: On 07/30/2010 06:00 PM, Chris Rees wrote: > > It's by design. There's a timeo

Re: sudo -K/-k ineffective

2010-07-30 Thread Michael Toth
On 07/30/2010 06:00 PM, Chris Rees wrote: It's by design. There's a timeout that you can set, try man sudo. Chris Chris, That is not by design. sudo -K should remove the timestamp -- sudo -K The -K (sure kill) option is like -k except that it removes

Re: sudo -K/-k ineffective

2010-07-30 Thread Chris Rees
It's by design. There's a timeout that you can set, try man sudo. Chris Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 30 Jul 2010 21:43, "me" wrote: Hi, Upon doing sudo as a normal user (non-root), sudo asks for password only once, subsequent

sudo -K/-k ineffective

2010-07-30 Thread me
Hi, Upon doing sudo as a normal user (non-root), sudo asks for password only once, subsequent invocations of sudo doesn't ask for password - even though I do sudo -k or sudo -K in between. Although sudo starts asking for password after the time stamp expiry. in other words: % sudo mkdir /newdir