Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 05:44:07 +0000 (GMT)
From:      Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
To:        Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: su and aliases question
Message-ID:  <Pine.BSF.4.21.0001070534100.77833-100000@dogma.freebsd-uk.eu.org>
In-Reply-To: <200001062125.WAA30639@dorifer.heim3.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Jan 2000, Oliver Fromme wrote:

>Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org> wrote in list.freebsd-questions:
> > On Thu, 6 Jan 2000, Neil Blakey-Milner wrote:
> >>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 just tried that.  All the aliases are in my user account in
> > .zshrc.  When i su -m toor, i lose all my aliases.
>
>Very strange.  I have no idea what's wrong; it works fine for
>me.  (BTW:  Just ``su -m'' is sufficient.  No need to specify
>"toor" or anything, because root is default.)

Well, i just don't understand.  I have my aliases in both .zshenv and
.zshrc, and in both my home directory and in root.  And when i type 'su
-m' and my password, my only remaining aliases are:

run-help=man
which-command=whence

I don't even know where these come from.  Any ideas on what is going
wrong?  I made sure my home directories are correct in the passwd db, and
i also removed the old 'toor' home directory.

-=> jm <=-





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?Pine.BSF.4.21.0001070534100.77833-100000>