Modify

Opened 7 years ago

Closed 7 years ago

#7979 closed defect (worksforme)

'secure_chroot_dir' still missing in vsftpd.conf

Reported by: p91@… Owned by: obsy
Priority: low Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03
Keywords: vsftpd, 500 chield died Cc:

Description

If you install vsftpd, you will not be able to connect to it.
You will get a "500, child died".
You have to set "'secure_chroot_dir'" in vsftpd.conf to some existing directory.
This is present for quite some while.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by obsy

  • Owner changed from developers to obsy
  • Status changed from new to assigned

comment:2 Changed 7 years ago by obsy <cezary@…>

I'm able to connect on default config:

# cat /etc/vsftpd.conf 
background=YES
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
check_shell=NO
#dirmessage_enable=YES
#ftpd_banner=Welcome to blah FTP service.
session_support=NO
#syslog_enable=YES
#userlist_enable=YES
#userlist_deny=NO
#userlist_file=/etc/vsftpd.users
#xferlog_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
$ ftp 192.168.1.1
Connected to 192.168.1.1.
220 (vsFTPd 2.3.2)
Name (192.168.1.1:user): root
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp> cd /
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x    2 0        0             682 Sep 22 19:51 bin
drwxrwxrwt    5 0        0             980 Sep 22 20:45 dev
drwxr-xr-x   10 0        0               0 Sep 22 20:50 etc
drwxr-xr-x   12 0        0             729 Sep 22 19:51 lib
drwxr-xr-x    3 0        0               0 Sep 22 20:50 mnt
drwxr-xr-x    7 0        0               0 Sep 22 20:45 overlay
dr-xr-xr-x   50 0        0               0 Jan 01  1970 proc
drwxr-xr-x   16 0        0             235 Sep 22 19:52 rom
drwxr-xr-x    2 0        0               3 Sep 22 19:37 root
drwxr-xr-x    2 0        0             651 Jun 11 16:13 sbin
drwxr-xr-x   11 0        0               0 Jan 01  1970 sys
drwxrwxrwt   15 0        0             480 Sep 22 20:46 tmp
drwxr-xr-x    3 0        0               0 Jan 01  1970 usr
lrwxrwxrwx    1 0        0               4 Sep 22 19:51 var -> /tmp
drwxr-xr-x    2 0        0               0 Jan 01  1970 www
226 Directory send OK.
ftp> quit
221 Goodbye.

Also works anonymous mode. ar71xx platform, default package from 10.03.1-rc3.

comment:3 Changed 7 years ago by p91@…

Interesting, once I started using openwrt on X86 and making my own images this issue went away...
Well, very strange

comment:4 Changed 7 years ago by obsy

  • Resolution set to worksforme
  • Status changed from assigned to closed

Closing ticket. If problem still exists, please open new ticket.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.