-
FTP login problem
I install ftp server (proftpd) but i can not login in it. It works a long time, but now when i upgrade to 8.04 version stop working. I search in forum but i can not find solution.
This i can see in log:
May 16 18:07:23 server proftpd[6416] mitjab.homelinux.net (cpe2-25-222.cable.triera.net[::ffff:82.149.25.222]): FTP session opened.
May 16 18:07:23 server proftpd[6416] mitjab.homelinux.net (cpe2-25-222.cable.triera.net[::ffff:82.149.25.222]): USER mitjab (Login failed): Invalid shell: '/bin/bash'
What is wrong? user mitjaba nd directory exist.
Thx for help!
Juventus the champion

-
Re: FTP login problem
Check if /bin/bash is listed in /etc/shells
-
Re: FTP login problem
I believe there is something in the ubuntu release notes for 8.04 that says /bin/bash was replaced by /bin/dash, and you need to create a symbolic link for /bin/bash.
Somebody is going to blast me for the syntax here because I suck at symbolic links, but it is something along the lines of:
ln -s /bin/bash /bin/dash
the order of the two paths may be reversed or I may be missing some parameters. If you make that link (successfully!) it should work.
-
Re: FTP login problem
symbolic link already exist
root@server:/home/mitjab# ln -s /bin/bash /bin/dash
ln: creating symbolic link `/bin/dash': File exists
Check if /bin/bash is listed in /etc/shells
i add /bin/bash in /etc/shells and now working.
thx boath for help!
Last edited by mitjab; May 16th, 2008 at 11:20 PM.
Juventus the champion

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks