1836915 Members
2404 Online
110111 Solutions
New Discussion

Re: ftpaccess

 
Wilfred Chau_1
Respected Contributor

ftpaccess

I am trying to configure a ftponly user via
the ftpaccess file so that he can delete file.

How could you do that?
6 REPLIES 6
Scott Van Kalken
Esteemed Contributor

Re: ftpaccess

I do a combination of things:

1) add all shells to be used via ftp to /etc/shells

2) set up the user with /usr/bin/false shell (no login)

3) set up ftp access file:

guestgroup

and then specify the exact directory and perms, user etc....

upload /home/pin * yes oradev dba 0660


man ftpaccess helps a lot here. I had to read it three times before I got it to work, but once you get it working, it works well.

The key to ftp only is the false shell.

Dave La Mar
Honored Contributor

Re: ftpaccess

Animesh Chakraborty
Honored Contributor

Re: ftpaccess

edit /etc/ftpd/ftpaccess file

delete yes real,anonymous # delete permission?
Did you take a backup?
V. V. Ravi Kumar_1
Respected Contributor

Re: ftpaccess

hi,
in ftpaccess file put yes against delete. u have option to specify for overwrite, rename also. but have look at wu-ftpd and proftpd to configure restricted ftp user. have a search in forum for them.

iam attaching a doc which may be useful.

regds
Never Say No
Wilfred Chau_1
Respected Contributor

Re: ftpaccess

Looks like I have to use group to define
the user by using the guestgroup key word.


But I would like to use the username instead.
I guess there is no way to do that?
Christopher McCray_1
Honored Contributor

Re: ftpaccess

Hello,

No, you would specify a group only for a list of anonymous/guest ftp users.

Back to your original question, your users can delete files by using the delete (dele) command within ftp.


Hope this helps

Chris
It wasn't me!!!!