Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Modifying the vsftpd config to isolate ftp user in separate directory ?

Featured Replies

Hello, by default, all users point into the same directory ...

 

I'd like to set it up so that each user end up in different directory ...

 

I found that command but I'm unable to test it

 

"usermod --home /var/www/ username"

 

Reason is, I cannot find the command to restart vsftpd (sudo service vsftpd restart, does not work) and when I reboot the box, I loose my changes ...

 

I'm I on the right track here ? Do I simple need to add that command and make it "somehow" persist to a reboot ?

 

Should I remove anything to the original config ?

 

Thanks in advance

 

Here's my config file right now ...

 

# vsftpd.conf for unRAID

# with suggestions from forum user 'nars'

#

connect_from_port_20=YES

write_enable=YES

local_root=/mnt

local_umask=0

#

# No anonymous logins

anonymous_enable=NO

#

# Allow only local vsftpd.user_list users to log in.

local_enable=YES

userlist_enable=YES

userlist_deny=NO

userlist_file=/boot/config/vsftpd.user_list

check_shell=NO

#

# Logging to syslog

syslog_enable=YES

log_ftp_protocol=NO

xferlog_enable=NO

#

# Misc.

dirmessage_enable=NO

ls_recurse_enable=YES

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.