Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
the security measures are such that root cannot ftp by default
to change the setting open the file vi /etc/vsftpd.ftpusers
and see that root is included in that list. this file only blocks access to ftp daemon . so in order to enable root to ftp simply remove root from that file and check ...
the security measures are such that root cannot ftp by default
to change the setting open the file vi /etc/vsftpd.ftpusers
and see that root is included in that list. this file only blocks access to ftp daemon . so in order to enable root to ftp simply remove root from that file and check ...
did that. i also did a service vsftpd restart , it still doesn't work.
i wasn't even prompt with a password and it said denied :
C:\Documents and Settings\myhost.somthing>ftp 198.123.218.127
Connected to 198.123.218.127.
220 (vsFTPd 2.0.1)
User (16.149.218.127none)): root
530 Permission denied.
Login failed.
ALso check the file /etc/shells ,your shell must be listed in /etc/shells.
But by the look of it seems that the option userlist_deny=YES is set in the /etc/vsftpd/vsftpd.conf file. remove that entry from that file and check
Why on earth would you want to ftp as root? Creating a new user for ftp'ing stuff, and perhaps a script for chmod'ing the needed files OR using a special group for accessing them does not take long, but adds to the security. Remember that ftp is not a secure protocol, and if you allow root ftp, then you actually allow anybody who gets to know the root password, to ftp-download your whole system. OR put some nifty rootkits on your machine, compromizing it completely without you even knowing it. Sounds nice? And I can tell you, stealing a root password is not even difficult, especially if your system's security is overall as low as in this case.
Root account should be used just and only for maintenance. sudo can be used, restricted, to grant the needed rights for needed users, and groups and file permissions can be used to achieve the needed freedom for stuff like ftp.
I really really hope you aren't really going to let root do ftp. Really.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.