[1722] in athena10

home help back first fref pref prev next nref lref last post

Re: sudo's lecture_file for "You're in a chroot!"

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon Mar 16 16:55:52 2009

Date: Mon, 16 Mar 2009 16:53:58 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Greg Hudson <ghudson@mit.edu>
cc: William Cattey <wdc@mit.edu>, debathena@mit.edu
In-Reply-To: <1237235998.6246.102.camel@ray>
Message-ID: <alpine.DEB.2.00.0903161650250.15256@opus.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

On Mon, 16 Mar 2009, Greg Hudson wrote:

> On Mon, 2009-03-16 at 00:43 -0400, William Cattey wrote:
>> This looks like a sane thing to do.  Would you open a debathena trac
>> on it?
>
> It seems odd to give the lecture if a person's first sudo is on a
> cluster machine, but not if it's on any other kind of machine.

The documentation is not clear, but from reading the code it looks like 
sudo checks whether it's the first time you've run sudo on that machine 
... in fact, because of the chroots, you should get warned the first time 
you run it in each session. Unfortunately, I don't have time to test this 
right now.

-- 
Geoffrey Thomas
geofft@mit.edu

home help back first fref pref prev next nref lref last post