Jump to content

users' permissions


hirohitosan
 Share

Recommended Posts

Hello. Sorry if this is a basic question. I installed on my computer proftpd. I create 2 users: user01 and user02. When I connect to my server through ftp command, both user can see all my computer. I want just one of them to can see all my files (for ex. user01) and the other I don't want to see the root directory (I want that user02 can see just the files from his /home/user02 directory). Can you help me? Thanks.

Link to comment
Share on other sites

Uncomment DefaultRoot ~

That should do it.

ok, thanks, but now all users are looked in their own home directory, but I want one of them to don't be looked and can see the root directory. It is possible?

Here is my /etc/proftpd.conf

ServerName					  "ProFTPD"
ServerType					  standalone
DefaultServer				   on
DefaultRoot ~
Port							21
Umask						   022
MaxInstances					30
User							nobody
Group						   nogroup
SystemLog					   /var/log/proftpd.log
TransferLog					 /var/log/xferlog
<Directory /*>
 AllowOverwrite				on

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...