Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 09:50:14 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>, freebsd-questions@freebsd.org
Subject:   Re: window manager question
Message-ID:  <20000106095014.E66645@mithrandr.moria.org>
In-Reply-To: <Pine.BSF.4.21.0001060043140.62656-100000@dogma.freebsd-uk.eu.org>
References:  <200001052203.XAA37242@dorifer.heim3.tu-clausthal.de> <Pine.BSF.4.21.0001060043140.62656-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000106095014.E66645>