*BSD News Article 98343


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.cc.swin.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!chi-news.cic.net!newsserver.jvnc.net!ganglia.bms.com!not-for-mail
From: "Jeffrey M. Metcalf" <metcalfj@synapse.XXbms.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: root's mail???
Date: Tue, 24 Jun 1997 11:25:01 -0400
Organization: Bristol-Myers Squibb
Lines: 27
Message-ID: <33AFE6CD.6CCC@synapse.XXbms.com>
References: <5ok7j5$dc5@quail.swcp.com> <5omevk$83j$1@bofh.noc.best.net> <5ook2t$sak@flatland.dimensional.com>
NNTP-Posting-Host: metcalfj.wfd.pri.bms.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win16; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43426

Michael Fuhr wrote:
> 
> rone@bofh.noc.best.net (Ron Echeverri) writes:
> 
> > In article <5ok7j5$dc5@quail.swcp.com>, Charlie Sorsby <crs@swcp.com> wrote:
> > >What must I do to read root's mail?  I find that I can't do it with
> > >sudo and I can't do it when I actually su to root--all I get is my
> > >own mail.  I must have something misconfigured but what?
> >

I believe that your problem is that su is aliased to su -m so that 
you are inhereting some of your original login shell environment
(such as your system mailbox and not root's).  Optionally, you can
try unaliasing su under csh, or after having become root via su,
just type 'mail -u root' if you're using mailx.  Check the man pages
for how to do this under other e-mail software such as pine or elm.
That's all there is to it.

Good Luck,

JM
-- 
Respond to: metcalfj@synapse.XXbms.com
        or: metcalf@XXsnet.net
(Please remove the nospam XX from my e-mail address for personal
replies)
http://ruddles.stat.uconn.edu/~jeff