Today, I used my mobile phone to connect to the ftp on my computer and found it was connected directly. I went there. I was shocked. I didn't set it to boot ....
When vsftpd is installed, use chkconfig to start the instance and disable it.
I checked ssh and it was also started. It was dizzy. What makes me feel so embarrassed .....
Using sysv-rc-conf does not help.
Then we can see that there is no such thing in rc5.d, and no such thing is written in rc. local. What's going on...
Check the file system carefully and find that the. conf file, vsftpd. conf, exists in/etc/init.
It seems that I have been watching the kernel and haven't paid attention to configuration for a long time.
# Man 5 init
Take a look at manpages. The init originally needs to read the files in this directory at startup.
All right, comment out start on in ssh. conf of vsftpd. conf. OK. Close the job .....