How to mail the name of the user that logged off?

Frank Cox theatre at sasktel.net
Tue Sep 25 08:25:07 UTC 2007


On Tue, 25 Sep 2007 01:19:51 -0700
Brian Mury <brianmury at alumni.uvic.ca> wrote:

> That would work, so long as the user doesn't modify ~/.bash_logout.

chown root.root .bash_logout
chmod 444 .bash_logout
cp .bash_logout /etc/skel

You're off to the races.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com




More information about the users mailing list