Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
assuming vsftpd:
1) /etc/rc.d/init.d/vsftpd status
2) modify /etc/vsftpd/vsftpd.conf and disable anonymous logins
-- reference inline documentation or man vsftpd.conf
3) SFTP is SSH-FTP; it uses the SSH with an ftp-style subsystem
-- FTPS (TLS/SSL FTP) can be configured and forced in vsftpd.conf
-- -- reference inline documentation or man vsftpd.conf
4) disable/restrict SSH access or disable the sftp-subsystem
The box is running Red Hat 5 I believe. It's a relatively new system, I'm the only one that uses it, and I know I have no setup / turned on FTP. Also I did not see /etc/rc.d/init.d/vsftpd, so I don't think it gets started by default?
it may or may not be installed. likely not installed if no vsftpd.conf.
you should be able to install it with:
Code:
yum install vsftpd
that should also give you the vsftpd service, since i now know RHEL5 is distro you can easily use chkconfig and service commands to start it and configure it to start on boot
Code:
service vsftpd status
service vsftpd start
chkconfig --list vsftpd
chkconfig vsftpd on
after configuring it to your requirements first... of course
I think I'll go with keeping it not installed. All of our file interactions are done using scp, I just had to verify that anon ftp couldn't happen. Which it can't if it's not installed!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.