[1728] in athena10
Re: sudo's lecture_file for "You're in a chroot!"
daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Mon Mar 16 17:30:03 2009
Date: Mon, 16 Mar 2009 17:29:13 -0400 (EDT)
From: Anders Kaseorg <andersk@MIT.EDU>
To: Evan Broder <broder@mit.edu>
cc: Xavid <xavid@mit.edu>, Geoffrey Thomas <geofft@mit.edu>,
Greg Hudson <ghudson@mit.edu>, William Cattey <wdc@mit.edu>,
debathena@mit.edu
In-Reply-To: <49BEC41A.1090809@mit.edu>
Message-ID: <alpine.DEB.2.00.0903161727240.15595@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: 8bit
On Mon, 16 Mar 2009, Evan Broder wrote:
> Are you sure? I would have guessed it was based on the presence of
> ~/.sudo_as_admin_successful. Why else have the file?
No, ~/.sudo_as_admin_successful has nothing to do with sudo. It is an
Ubuntu thing that’s only used to display this message on the console if
you’re an administrator that has never used sudo:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
(See /etc/bash.bashrc.)
Anders