*BSD News Article 59322


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SU's or TCSH's behavior (bug?)
Date: 10 Jan 1996 20:48:45 GMT
Organization: SRI Intl. - Montana Operations
Lines: 17
Message-ID: <4d18nd$2i6@helena.MT.net>
References: <4cu8fd$54l@news.bu.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <4cu8fd$54l@news.bu.edu>,
Mikhail Teterin <mi@aldan.algebra.com> wrote:
>$user is not set by `su'-command. Tcsh does not change a prompt to root
>(or whatever the new user is), `mail' attempts to read the original user's
>mailbox, while `elm' works as I'd expect...

Try:
'su -'
next time.  This causes it to use a brand-new environment.


Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth