1836979 Members
2290 Online
110111 Solutions
New Discussion

user ftp

 
SOLVED
Go to solution
Carme Torca
Super Advisor

user ftp

Hi,

I want to create one ftp user that only access to one directory /ftp/userA, and I want that this ftp user could not go to another directorys up its directory /ftp/userA.

Is it possible??

Could I do something to this user could only put files??

Thanks very much!
Carmen.


Users are not too bad ;-)
2 REPLIES 2
Eric Antunes
Honored Contributor
Solution

Re: user ftp

Hi Carmen,

Check Doc. ID=BC0814KBRC00007719 for this matter...

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
bhavin asokan
Honored Contributor

Re: user ftp

hi,

Make the edits to the /etc/passwd file

ftpguest:2HZkDatENY:505:125::/home/ftp/ftpguest/./:/usr/bin/false
^^^
- '.' Is the delimiter to determine where the chroot will be performed. In
this example, after logging in '/' will in effect be /home/ftp/ftpguest.
If the delimiter was placed between ftp and ftpguest then '/' would be
/home/ftp ftpguest was used as the account name in this example but you
could use any name you like.


regds,