FTP login incorrect when root using bash

From: trevor.mclachlan@richemont.com
Date: Wed Jan 28 2004 - 10:11:55 EST


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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:54 EDT