Thus, without "usermod" command, I can define the FTP home directory?
vsFTP and add a user.
Re: vsFTP and add a user.
Re: vsFTP and add a user.
I added below lines to "vsftpd.conf" file:
Then I opened "/etc/vsftpd/user_list" file and commented all default users in this file and added my current user to this file. Then:
But it show me below error:
Linux has a default "ftp" account that it is disabled:
Can I enable this account and doesn't create another user for FTP?
Can I limit this use for just logging to FTP and not system or SSH?
Code: Select all
userlist_deny=NO
local_enable=YES
virtual_use_local_privs=YES
Code: Select all
# vsftpd userlist
Code: Select all
500 OOPS: missing value in config file for: jason
Code: Select all
# passwd --status ftp
ftp LK 2019-07-01 0 99999 7 -1 (Alternate authentication scheme in use.)
# groups ftp
ftp : ftp
Can I limit this use for just logging to FTP and not system or SSH?