1830250 Members
2788 Online
110000 Solutions
New Discussion

running wu-ftpd

 
K.C. Chan
Trusted Contributor

running wu-ftpd

I am not sure, but is it possible to have the name of user and goup display when you're using ls vi wu-ftp? When I did this, I am getting: "drwxrwxr-x 2 10002 10007 4096 May 2 14:33 pub". Is this a configuration issue, if so, how do I change it. By the way, this is for guest ftp only. Thnks.
Reputation of a thousand years can be determined by the conduct of an hour
4 REPLIES 4
Stuart Browne
Honored Contributor

Re: running wu-ftpd

You want to look at putting ~ftp/etc/{password,group} files in place with the required details.

These can be the same as real /etc/ files, but its advisable not too (security reasons). But that's up to you of course :)
One long-haired git at your service...
K.C. Chan
Trusted Contributor

Re: running wu-ftpd

Yes, I've already done this. That is why I post the question, because this should have done it. Sorry I have not mention this in the original post.
Reputation of a thousand years can be determined by the conduct of an hour
Stuart Browne
Honored Contributor

Re: running wu-ftpd

Time to start spouting version numbers..

The half dozen or so boxes around here (RH 6.{0,1,2}, 7.{0,1,2}) all behave in the manner I'd expect, none showing what you are seeing.

ANother thing that would be nice is for you to us a listing of the group/passwd files in the ~ftp/etc dir (ie. permissions etc.).
One long-haired git at your service...
K.C. Chan
Trusted Contributor

Re: running wu-ftpd

I am running RH 7.1 with kernel: "Linux nx01 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown" and the version of wu-ftpd is "wu-ftpd-2.6.1-20". Here
's the perm on etc: "d--x--x--x 2 root daemon 4096 May 3 09:45 etc"
and etc/passwd: "-r--r--r-- 1 root daemon 357 May 2 13:47 passwd"
and etc/group: "-r--r--r-- 1 root daemon 233 May 3 09:45 group". H
er's a snip of passwd: "root:*:0:0::/:/etc/ftponly
ftpusers:*:10002:10003::/home/ftpusers/./:/etc/ftponly". Here's a snip of group:
"root::0:root
ftpusers::10003:ftpusers,ftp"

In regards to the content of group files in etc dir, does the group file in etc
have to exactly match the group file in /etc/group? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour