Subject: Re: Pine 3.95 and sudo

From: [email-masked] (Bill D)
Date: 1 Nov 1996 18:11:52 -0500

In article <[email-masked]> in newsgroup comp.mail.pine,
Ken Simler <[email-masked]> wrote: 

>I am the de facto sysadm for a shared workstation running AIX, which 
>includes checking root's mail on a regular basis, such as the output from 
>cron jobs run by root.  

This has nuffin' to do with Pine but answers the question....

A better solution would be to edit /etc/aliases to include the line:

root: your_user_id

and then run the 'newaliases' command.

Then, all mail that's normally delivered to root will be delivered to your
non-root userid.

Bill

-- 
[email-masked] [email-masked]  (Bill D) "Yesterday, apropos of nothing,
one friend said to me 'Do you ever have days where you just want to get
everyone you know together in one place, have them all take off their
clothes, and let nature take its course?'" --Susan Groppi

---

From: [email-masked] (Ken Simler)
Date: Mon, 04 Nov 96 14:45:36 GMT

>Then, all mail that's normally delivered to root will be delivered to your

Thanks Bill, but I already know about the aliases file.  I have reasons, 
good ones I think, for not wanting to forward all of root's mail to my 
mailbox.  

For example, if I can't make it to the office or to a telnet connection, I 
want to be able to call in and ask someone else to check root's mailbox to 
see if there were any errors in the nightly backup, which get reported to 
root via email.  A person with limited root privileges (as configured under 
sudo), would be able to do this.  With your solution I would have to give 
the person my password so they could go into my mailbox to get the message, 
which I would rather not do.

Thanks for the response, but I'd still welcome a better one.

-Ken

--
Kenneth Simler
Research Associate, Cornell Food & Nutrition Policy Program
Cornell University, Ithaca, NY  14853  USA
[email-masked]  http://mango.human.cornell.edu/kens/