lab 2.2 course LFS211
while doing lab 2.2 of chapter 2 ,where we have to manually start a service named vsftpd.
while running '/usr/sbin/vsftpd /etc/vsftpd.conf ' its giving me error
"500 00ps : config file not owned by correct user ,or not a file.
Comments
-
Hi saumya043,
Normally the /etc/vsftpd.conf file is included in the package vsftpd and is installed by default. The permission should be set as user= root, group = root and the permissions of 644.
Which distribution are you using?
Please confirm if the file /etc/vsftpd.conf exists.1 -
yes /etc/vsftpd file exists . i am using ubuntu on vmware fusion .
0 -
i tried to change permission ....but still not working
0 -
I see two things:
First there is a minor typo for the service location it lives in the "sbin" directory so the commad is "/sbin/vsftpd" and second, the # in commands in our book mean "run as root" vs $ "run as regular user"
so try this:sudo /sbin/vsftpd /etc/vsftpd.conf
Regards Lee
1 -
tried this also..... but then its does not return anything
0 -
This is the server for ftp. We can run the background so it does not take up your terminal. Add an "&" after the command to run it in background.
Test the server with your favourite ftp client. The "ftp" client program is available in the "ftp" package.
Regards Lee
1 -
Hello,
When you start the service with only:
# /usr/sbin/vsftpd
The daemon is spawned and the service is running - you can verify with:
# ps aux | grep vsftpor with telnet:
# telnet localhost 21
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 (vsFTPd 3.0.2)or by connecting to the service:
# ftp localhost
Trying ::1...
Connected to localhost (::1).
220 (vsFTPd 3.0.2)
Name (localhost:root):The /etc/vsftpd/vsftpd.conf argument (/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf), can be omitted when starting the service (it is read by default).
Enjoy your Linux experience!
Best Regards,
G. Tsenov
Linux Foundation Certified System Administrator0 -
thank you @georgi_tsenov and @lee42x
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 754 Linux Foundation IT Professional Programs
- 374 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 111 Mobile Computing
- 19 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 976 Programming and Development
- 310 Kernel Development
- 648 Software Development
- 990 Software
- 382 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
