From owner-freebsd-questions Wed Jan 5 23:52:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 2B377155A2 for ; Wed, 5 Jan 2000 23:52:28 -0800 (PST) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 1267gU-000HdH-00; Thu, 06 Jan 2000 09:50:14 +0200 Date: Thu, 6 Jan 2000 09:50:14 +0200 From: Neil Blakey-Milner To: Jonathon McKitrick Cc: Oliver Fromme , freebsd-questions@freebsd.org Subject: Re: window manager question Message-ID: <20000106095014.E66645@mithrandr.moria.org> References: <200001052203.XAA37242@dorifer.heim3.tu-clausthal.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Rhodes University Computer Users' Society X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu 2000-01-06 (00:44), Jonathon McKitrick wrote: > >When you use ``su -m'', the environment variables are not > >modified (see the su(1) manpage), including $USER, $LOGNAME, > >$HOME, $MAIL... I guess this has confused your mail client. > > Here's one problem i have with this: i have several aliases for root only > to mount filesystems and do a few other things. Is there a way to pick > these up when i su to root? You could just set these aliases up for your normal user, and it'll move across the su. Else you can 'source' an aliases file. I'd go for the first option. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message