vsftpd: making user names visible instead of user IDs

K

kajax01

Guest
Hi,

I set up a vsftp (2.0.5) service on a RHEL5 und have the ftp users in a jail.
But even if there is a etc/passwd in the jail root directory the user names don't show up
with an ls command in a ftp session.
Instead only user IDs are visible, like here:
drwxrwx--x 2 51223 1145 4096 May 31 08:01 in

vsftpd.conf:
...
chroot_list_enable=yes
chroot_local_user=NO
local_enable=yes
passwd_chroot_enable=yes
...

Any ideas?

Thanks in advance
 


Any ideas?
Expected behavior.
MLSD is showing the user_id:group_id
Some ftpd software does one, some does the other, while some I suppose allow you to chose. Email the author and ask.

Example: X.org's ftp server returns user_id:group_id
Code:
$ ftp [email protected]

ftp> ls
229 Entering Extended Passive Mode (|||44869|).
150 Here comes the directory listing.
lrwxrwxrwx  1 0  0  7 Dec 19  2013 R1 -> xorg/R1

Example: Kernel.org's ftp server shows user_name:group_name
Code:
$ ftp [email protected] 

ftp> ls
229 Entering Extended Passive Mode (|||30920|).
150 Here comes the directory listing.
drwxrwxr-x  6 ftp  ftp  4096 Dec 01  2011 dist
 
OK, I see...
I'll contact the author then.

Thanks for the hint
 

Members online


Latest posts

Top