SSH problem!

Rus Foster rghf at fsck.me.uk
Fri Sep 26 02:22:27 PDT 2003


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 at jvds.com        | Dedicated Servers from $119/mo
t: +44 7919 373537	| email: support at jvds.com
t: 1-888-327-6330 	| email: sales at jvds.com




More information about the freebsd-newbies mailing list