LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2018, 01:26 AM   #1
ruben_shah_j
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Rep: Reputation: Disabled
Lightbulb services required to run vsftpd


Guys I'm new around here and i have started my career as a linux admin. I want to know what all the services running in the background to run vsftpd service.....
 
Old 07-11-2018, 02:19 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Two background questions:

Which distro is this for, including version? The reason for asking is that the methods vary.

Why do you plan to fight with FTP instead of using the SFTP server that is built in to OpenSSH and probably already running on your server? The reason for asking is that FTP is not only hard to configure, it cannot be run securely and there are darn few use-cases for it these days.
 
2 members found this post helpful.
Old 07-12-2018, 01:40 AM   #3
ruben_shah_j
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
The distro Im using is CentOS 7.
Actually I was learning to conigure vsftpd so I thought I will also learn what all the services running at the kernel to run vsftpd.
 
Old 07-12-2018, 02:49 AM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
pstree will show how running processes are connected.

See
Code:
man pstree
 
1 members found this post helpful.
Old 07-12-2018, 03:01 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by ruben_shah_j View Post
The distro Im using is CentOS 7.
Actually I was learning to conigure vsftpd so I thought I will also learn what all the services running at the kernel to run vsftpd.
Those would be system calls. I'm not sure of kernel space stuff, so we can hope that someone else does see this thread. My limited knowledge is that strace can see those. You can attach to a running process or start a fresh process:

Code:
sudo strace -p $(pgrep -o vsftpd)
sudo strace /usr/sbin/vsftpd
However if you are meaning user-space activities then pstree as mentioned would be useful. See in particular the -s option.

Code:
pstree -as $(pgrep -o vsftpd)
Since you are on CentOS 7 the output from utility systemd-analyze may also be of interest.

Code:
systemd-analyze critical-chain vsftpd
What corner case do you have that you still have vsftpd on a machine in 2018?

Last edited by Turbocapitalist; 07-12-2018 at 03:03 AM.
 
1 members found this post helpful.
Old 07-13-2018, 12:42 AM   #6
ruben_shah_j
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by scasey View Post
pstree will show how running processes are connected.

See
Code:
man pstree
Thanks for the command it helped me to check the running process

Last edited by ruben_shah_j; 07-13-2018 at 12:45 AM.
 
Old 07-13-2018, 12:45 AM   #7
ruben_shah_j
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Turbocapitalist View Post
Those would be system calls. I'm not sure of kernel space stuff, so we can hope that someone else does see this thread. My limited knowledge is that strace can see those. You can attach to a running process or start a fresh process:

Code:
sudo strace -p $(pgrep -o vsftpd)
sudo strace /usr/sbin/vsftpd
However if you are meaning user-space activities then pstree as mentioned would be useful. See in particular the -s option.

Code:
pstree -as $(pgrep -o vsftpd)
Since you are on CentOS 7 the output from utility systemd-analyze may also be of interest.

Code:
systemd-analyze critical-chain vsftpd
What corner case do you have that you still have vsftpd on a machine in 2018?

Thanks for the command that helped me to check the process. Actually I was just learning about vsftpd .
 
Old 07-13-2018, 12:51 AM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by ruben_shah_j View Post
Thanks for the command that helped me to check the process. Actually I was just learning about vsftpd .
No problem. What aspects of vsftpd are you learning?

And again, it's not 1988 any more, which corner case do you have that you still run vsftpd on a machine in 2018?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reboot required and restarting services upnort Slackware 20 11-11-2017 12:25 AM
[VSFTPD] 500 OOPS: vsftpd: refusing to run with writable root inside chroot() srijur Linux - Server 1 03-31-2014 04:10 AM
VSFTPD configuration information Required sheelavantar Linux - Server 3 08-22-2010 08:36 PM
need guidelines for determining required services. ankushpandit Linux - Newbie 2 10-01-2009 06:25 PM
Where slackware12.2 required files just for Network Services? NightSky Slackware 1 09-02-2009 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration