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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...