Configuring VSFTPD on SuSE Linux
Perform the following steps to enable an
To set up a new group and user
1.At the system prompt, enter the following to add a new user group with restricted rights to the system: groupadd fma
2.Enter the following to add a user with minimal rights:
useradd
where
3.Enter the following to change the password and activate the account: passwd fma
4.Enter a new password.
To take ownership of the PartitionRoot
At the system prompt, enter the following:
chown
To activate inetd, the UNIX daemon that manages Internet services
1.Enter the following to start the YaST operating system setup and configuration tool with the corresponding parameter:
yast inetd
2.Enter the following to check whether inetd is already active: ps ax fgrep
3.If inetd does not appear in the output of grep, enter the following to start inetd:
/etc/init.d/inetd start
To configure VSFTPD
1.Activate the FTP server vsftpd in /etc/inetd.conf file. The entry is commented out by default.
2.Create a file named /etc/vsftpd.userlist.
3.Open the file and add all users that are allowed to access the FTP server.
4.Open the /etc/vsftpd.conf file for the FTP server and modify it to match the following:
/etc/vsftpd.conf
local_enable=YES write_enable=YES dirmessage_enable=YES xferlog_enable=YES chroot_local_user=YES userlist_enable=YES userlist_deny=NO userlist_file=/etc/vsftpd.userlist local_umask=027