FTP login incorrect when root using bash

trevor.mclachlan_at_richemont.com
Date: 01/28/04

  • Next message: sahan kumar: "V480 UPS connectivity"
    To: sunmanagers@sunmanagers.org
    Date: Wed, 28 Jan 2004 15:11:55 +0000
    
    

    Hi All,

    Can anyone tell me why FTP won't work when I change my /etc/passwd file for
    root to be /bin/bash ?
    I did this so my root environment is in the bash shell, then I wasn't able
    to login via ftp.

    Line is /etc/passed read -

    root:x:0:1:Super-User:/:/bin/bash

    ftp error -

    C:\Documents and Settings\trevor.mchlachlan\My Documents>ftp 10.164.4.159
    Connected to 10.164.4.159.
    220 richtest FTP server (SunOS 5.8) ready.
    User (10.164.4.159:(none)): root
    331 Password required for root.
    Password:
    530 Login incorrect.
    Login failed.
    ftp> quit
    221 Goodbye.

    Then changed line in /etc/passwd back to -

    root:x:0:1:Super-User:/:/bin/sh

    ftp ok -

    C:\Documents and Settings\trevor.mchlachlan\My Documents>ftp 10.164.4.159
    Connected to 10.164.4.159.
    220 richtest FTP server (SunOS 5.8) ready.
    User (10.164.4.159:(none)): root
    331 Password required for root.
    Password:
    230 User root logged in.
    ftp>

    Why is this so ?

    I am sure many of you have already come by this problem before, and may
    think the answer easy, but I haven't seen this problem as yet :)

    Thanks in advance
    Trev
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: sahan kumar: "V480 UPS connectivity"

    Relevant Pages

    • Re: Having an issue logging onto root on HP-UX
      ... of a re-boot logon single user, FTP and delete of the file. ... Having an issue logging onto root on HP-UX ... I would try what Wonsil suggested, ftp to it and then see if you can ... Last successful login for root: Thu Aug 24 00:52:19 2006 on tty ...
      (comp.sys.hp.mpe)
    • Re: Mandrake 8.1 Desktop Gone
      ... You want to set up anonymous ftp with a chroot jail. ... Use chmod to remove "others" access to all directories in root. ... database using the same package specification ...
      (alt.os.linux)
    • Re: root access denied via SSH
      ... After adding this user and modifying it to have root ... When you say users have lost access only via ssh, ... for FTP access and never SSH access. ...
      (comp.unix.questions)
    • Re: LWP::Simple getstore with absolute path not working
      ... When a user logs in via ftp, ... Actually this is server/config dependant. ... example on my personal system, if I login in as a run of the mill user, ... is used), or the true root of the system, in which case you referernce ...
      (comp.lang.perl.misc)
    • Re: Automate FTP account creation
      ... i.e when user register to website then an FTP account ... not give you root access. ... You could do it by executing a PHP script which switches to the root ...
      (comp.lang.php)