From owner-freebsd-questions Thu Jan 6 21:47:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 95CD314FCD for ; Thu, 6 Jan 2000 21:46:40 -0800 (PST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3) id 126SBz-000FsG-00; Fri, 7 Jan 2000 05:44:07 +0000 Received: from localhost (jcm@localhost) by dogma.freebsd-uk.eu.org (8.9.3/8.9.3) with ESMTP id FAA77900; Fri, 7 Jan 2000 05:44:07 GMT (envelope-from jcm@dogma.freebsd-uk.eu.org) Date: Fri, 7 Jan 2000 05:44:07 +0000 (GMT) From: Jonathon McKitrick To: Oliver Fromme Cc: freebsd-questions@freebsd.org Subject: Re: su and aliases question In-Reply-To: <200001062125.WAA30639@dorifer.heim3.tu-clausthal.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 6 Jan 2000, Oliver Fromme wrote: >Jonathon McKitrick 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