Re: sudo warning

2009-07-13 Thread Scott Gifford
T o n g mlist4sunt...@yahoo.com writes: On Sat, 11 Jul 2009 23:43:18 -0400, Scott Gifford wrote: The manpage mentions that timestamp files are stored in /var/run/sudo, Hmm... I didn't find it... $ man sudoers | grep /var/run $ man sudo | grep /var/run Where did you find it? On my

Re: sudo warning

2009-07-12 Thread T o n g
On Sat, 11 Jul 2009 23:43:18 -0400, Scott Gifford wrote: The manpage mentions that timestamp files are stored in /var/run/sudo, Hmm... I didn't find it... $ man sudoers | grep /var/run $ man sudo | grep /var/run Where did you find it? -- Tong (remove underscore(s) to reply)

Re: sudo warning

2009-07-12 Thread Sven Joachim
On 2009-07-12 22:34 +0200, T o n g wrote: On Sat, 11 Jul 2009 23:43:18 -0400, Scott Gifford wrote: The manpage mentions that timestamp files are stored in /var/run/sudo, Hmm... I didn't find it... $ man sudoers | grep /var/run $ man sudo | grep /var/run It seems that the manpage in

Re: sudo warning

2009-07-12 Thread Matthew Moore
On Sunday July 12 2009 2:34:24 pm T o n g wrote: Hmm... I didn't find it... $ man sudoers | grep /var/run $ man sudo | grep /var/run Where did you find it? There should be a sudo directory in /var/run. In any case, it seems like adding lecture never to /etc/sudoers would fix the

sudo warning

2009-07-11 Thread T o n g
Hi, I used to get the following sudo warning on the first time I sudo, but for one box, I kept getting it: $ sudo su - We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2

Re: sudo warning

2009-07-11 Thread Matthew Moore
On Saturday 11 July 2009 3:40:40 pm T o n g wrote: How can I disable the sudo warning? From the sudoers manpage, lecture This option controls when a short lecture will be printed along with the password prompt. It has the following possible values: always Always

Re: sudo warning

2009-07-11 Thread Matthew Moore
On Saturday 11 July 2009 3:40:40 pm T o n g wrote: How can I disable the sudo warning? From the sudoers manpage, lecture This option controls when a short lecture will be printed along with the password prompt. It has the following possible values: always Always

Re: sudo warning

2009-07-11 Thread T o n g
On Sat, 11 Jul 2009 19:24:39 -0600, Matthew Moore wrote: How can I disable the sudo warning? From the sudoers manpage, lecture This option controls when a short lecture will be printed along with the password prompt. . . Looks like you have set the lecture option in your sudoers

Re: sudo warning

2009-07-11 Thread Scott Gifford
T o n g mlist4sunt...@yahoo.com writes: How can I disable the sudo warning? [...] Sudo must have stored the weather-first-time value under one of the following places: $ grep ram /etc/fstab /dev/ram1 /var/runramfs defaults,rw,auto,dev0 0 The manpage mentions