• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install VSFTPD on opensuse15.1

  • 00:41 zypper install vsftpd
  • 00:57 systemctl enable vsftpd
  • 01:04 systemctl start vsftpd
  • 01:12 useradd -d /srv/ftp u1
  • 01:23 useradd -d /srv/ftp u2
  • 01:50 groupadd ftpuser
  • 02:00 gpasswd -a u1 ftpuser
  • 02:12 gpasswd -a u2 ftpuser
  • 03:00 chgrp -R ftpuser ftp/
  • 03:20 vim /etc/vsftpd.conf
  • 04:12 systemctl restart vsftpd
5955

How To install VSFTPD on opensuse15.1

Installation Procedure

Use the below command to install vsftpd

LinuxHelp:~ # zypper install vsftpd
Retrieving repository 'Main Update Repository' metadata ............................................................................................................................[done]
Building repository 'Main Update Repository' cache .................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  system-user-ftp vsftpd

2 new packages to install.
Overall download size: 168.5 KiB. Already cached: 0 B. After the operation, additional 318.9 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package system-user-ftp-20170617-lp151.4.70.noarch                                                                                        (1/2),  10.2 KiB (   67   B unpacked)
Retrieving: system-user-ftp-20170617-lp151.4.70.noarch.rpm ............................................................................................................[done (13.7 KiB/s)]
Retrieving package vsftpd-3.0.3-lp151.6.3.x86_64                                                                                                     (2/2), 158.3 KiB (318.8 KiB unpacked)
Retrieving: vsftpd-3.0.3-lp151.6.3.x86_64.rpm ......................................................................................................................................[done]
Checking for file conflicts: .......................................................................................................................................................[done]
(1/2) Installing: system-user-ftp-20170617-lp151.4.70.noarch .......................................................................................................................[done]
Additional rpm output:
useradd -r -s /sbin/nologin -c "FTP Account" -U -d /srv/ftp ftp
groupadd -r ftp


(2/2) Installing: vsftpd-3.0.3-lp151.6.3.x86_64 ....................................................................................................................................[done]

To enable the vsftpd service

LinuxHelp:~ # systemctl enable vsftpd
Created symlink /etc/systemd/system/multi-user.target.wants/vsftpd.service → /usr/lib/systemd/system/vsftpd.service.

Use the command to start the vsftpd service

LinuxHelp:~ # systemctl start vsftpd

Create ftp user using following command

LinuxHelp:~ # useradd  -d /srv/ftp u1
LinuxHelp:~ # useradd  –d  /srv/ftp u2

Update password to the user using following command

LinuxHelp:~ # passwd u1
New password: 
BAD PASSWORD: it is WAY too short
BAD PASSWORD: is too simple
Retype new password: 
passwd: password updated successfully

LinuxHelp:~# passwd u2
New password: 
BAD PASSWORD: it is WAY too short
BAD PASSWORD: is too simple
Retype new password: 
passwd: password updated successfully

Create group to add the ftp users in that group

LinuxHelp:~ # groupadd ftpuser 

Use this command to add the ftp user in the group

LinuxHelp:~ # gpasswd -a u1 ftpuser 
Add user u1 to group ftpuser

LinuxHelp:~ # gpasswd -a u2 ftpuser 
Add user u2 to group ftpuser

Navigate to the ftp default root directory location /srv/ftp as follows

LinuxHelp:~ # cd /srv/ftp/

Create one directory and file to test the ftp server

LinuxHelp:/srv/ftp # mkdir test

LinuxHelp:/srv/ftp # touch test1

Change group ownership of ftp directory then only ftp users can access the ftp server

LinuxHelp:/srv # chgrp -R ftpuser ftp/

The below command which is used to list all directory/file with permissions

LinuxHelp:/srv # ls -la
total 0
drwxr-xr-x 1 root   root     28 Aug  9 04:54 .
drwxr-xr-x 1 root   root    156 Aug  6 21:41 ..
drwxr-xr-x 1 root   ftpuser  18 Aug  9 05:00 ftp
drwxr-xr-x 1 tftp   tftp      0 Jan 31  2019 tftpboot
drwxr-xr-x 1 wwwrun root     26 Aug  9 04:05 www

Use vsftpd.conf file to configure the ftp server

LinuxHelp:/ftp # vim /etc/vsftpd.conf
write_enable=YES
ls_recurse_enable=YES
local_enable=YES
anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
local_root=/ftp

After the completion of FTP Configuration, restart the vsftpd service then only configuration changes will update in the server

LinuxHelp:/ftp # systemctl restart vsftpd

Open browser, In address bar type ftp://ip address of your system snap1

Give user credential in prompt window snap2

Finally we configured vsftpd server in opensuse15.1 snap3

With this,Configuration Of VSFTPD Server In OpenSuse 15.1 Comes to end.

Tags:
grayson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is the vsftpd?

A

'Very Secure File Transfer Protocol Deamon' (VSFTPD) is one of the most secure FTP daemons available, vsftpd is used as the default FTP server in the Ubuntu, CentOS, Fedora, NimbleX, Slackware and RHEL Linux distros.

Q

What is the root directory location of vsftpd?

A

The root Directory Location of VSFTPD is /srv/ftp/

Q

How to fix 500 OOPS: cannot change directory:/home/user2?

A

To fix 500 OOPS: cannot change directory:/home/user2 error follow the below procedure
create the user by the following command
" useradd -d /srv/ftp/ user2 "
In case if you have created the user already by using " useradd user2 "
you have to manually create the user2 directory under the home directory and change ownership " chown -R user2 user2 "

Q

What is vsftpd configuration file location?

A

The VSFTPD configuration file location is /etc/vsftpd.conf

Q

How to change the default vsftpd's root directory location?

A

To change the default VSFTPD's root directory location
Add the following line at the end of vsftpd.conf file without "#" symbol, local_root=example_directory

Related Tutorials in How to install VSFTPD on opensuse15.1

Related Tutorials in How to install VSFTPD on opensuse15.1

How to Install and update openssl on opensuse15.1
How to Install and update openssl on opensuse15.1
Nov 15, 2019
How to install, configure and access FTP server via filezilla in Centos
How to install, configure and access FTP server via filezilla in Centos
Jul 14, 2016
How to create SSL certificate in OpenSUSE
How to create SSL certificate in OpenSUSE
Aug 12, 2017
How to Install AnyDesk on opensuse15.1
How to Install AnyDesk on opensuse15.1
Oct 30, 2019
How to configure Apache Virtual Host in OpenSUSE
How to configure Apache Virtual Host in OpenSUSE
Nov 1, 2016
How to install PIP on OpenSUSE Leap 42.3
How to install PIP on OpenSUSE Leap 42.3
Nov 30, 2017
How to install Webmin in OpenSUSE
How to install Webmin in OpenSUSE
Nov 7, 2016
How to install Wordpress on opensuse15.1
How to install Wordpress on opensuse15.1
Nov 27, 2019

Related Forums in How to install VSFTPD on opensuse15.1

Related Forums in How to install VSFTPD on opensuse15.1

Pligg
aiden class=
CMS : Pligg install on opensuse
Oct 6, 2017
OpenSUSE
dalogui class=
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web
Jul 15, 2019
Apache
rebeccajazz class=
Apache2 : mod_proxy in opensuse
Jan 3, 2018
OpenSUSE
victorsamuel class=
exec: "git": executable file not found in $PATH
Nov 16, 2017
OpenSUSE
lucas class=
best browser for OpenSUSE
Apr 17, 2017
Filezilla
carter class=
Error GnuTLS error -110: The TLS connection was non-properly terminated
Feb 1, 2017
Apache
rolando class=
How to find apache user in opensuse
Sep 23, 2017
OpenSUSE
dylan class=
How do I add minimize / maximize buttons in Opensuse 13.2
Sep 4, 2017

Related News in How to install VSFTPD on opensuse15.1

Related News in How to install VSFTPD on opensuse15.1

openSUSE Leap 42.3 Officially Released
openSUSE Leap 42.3 Officially Released
Jul 27, 2017
Tyson Foods Honored as SUSE Customer of the Year
Tyson Foods Honored as SUSE Customer of the Year
Feb 11, 2017
SUSE Soon To Be Largest Independent Linux Vendor
SUSE Soon To Be Largest Independent Linux Vendor
Apr 14, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.