Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 10:24:07 +0100 (BST)
From:      Rus Foster <rghf@fsck.me.uk>
To:        Toan Hoang <ignorabimus2002@hotmail.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: SSH problem!
Message-ID:  <Pine.LNX.4.58.0309261023430.21357@bitch.localdomain>
In-Reply-To: <Sea1-F25K8onzvMMl6D00006f9d@hotmail.com>
References:  <Sea1-F25K8onzvMMl6D00006f9d@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Sep 2003, Toan Hoang wrote:

> Greetings!
>
> I've got a problem when I'm using ssh to my box.
>
> I've made it unable to login as root, so I'be login as user and use su...
> But when I use su, it seems like my alias is error... when I type ls, I get
> vim (my vi alias)...
>
> Anybody know how to fix it??

Try running "su -" as that will inherit the root environment as well

Rus
-- 
w: http://www.jvds.com  | Linux + FreeBSD Servers from $15/mo
e: rghf@jvds.com        | Dedicated Servers from $119/mo
t: +44 7919 373537	| email: support@jvds.com
t: 1-888-327-6330 	| email: sales@jvds.com




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