Re: SSH problem!

From: Rus Foster (rghf_at_fsck.me.uk)
Date: 09/26/03

  • Next message: Eduardo Huertas: "Re: rc.conf"
    Date: Fri, 26 Sep 2003 10:24:07 +0100 (BST)
    To: Toan Hoang <ignorabimus2002@hotmail.com>
    
    

    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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: Eduardo Huertas: "Re: rc.conf"

    Relevant Pages

    • Re: SSH login automation, get stuck at the last step.
      ... The ssh server that I am copying the public key to is not a typical ... The user "root" to login this box can not access the ... puts stderr "EXP username requested and sent " ...
      (comp.lang.tcl)
    • SUMMARY: how to set correct path?
      ... ven if we login with ssh. ... For BASH login shell, place the system wide ENV variables, such as PATH, ... You can set Use_login in the sshd_config to yes and restart sshd. ...
      (SunManagers)
    • Re: ssh brute force attacks
      ... What you are most likely seeing are SSH worms on hacked PCs that scan ... -- use a separate username/password for SSH access, ... -- enforce more complex usernames & passwords for all users on the server ... Instead require the user to login as a non-root user first, ...
      (comp.os.linux.misc)
    • Public Authentication Problem on Batch Job using SCP2 when SSH Client Reboot
      ... to a SSH server, HOST2. ... for secure ftp login. ... The login ID is a local user account ... we found that scp2 run failed every time the SSH client ...
      (comp.security.ssh)
    • Re: Any Way to Defeat Cracker Login Attempts? (OS X)
      ... In article <080320061657581395%darrell.usenet5@xxxxxxxxxxxxx>, Darrell ... that will work provided none of the Macs in your SSH session ... are protected by login passwords. ...
      (comp.sys.mac.system)