The less access through "root" the better. Even when accessing a server via Shell, ROOT should be locked down so that a user must shell in with a username, then SU to root. But on an FTP level, why would you want to do something like that?
Yeah, not really possible with FTP, and not possible with sFTP either. That's not to say that they can't gain root access if your system is not secure. They could potentilaly use FTP to access the /etc/passwd files, download that, then they can extract and use toot passwords to access the machine later - or enable shell access to then allow an SU command.
Ye maybe well you are saying accesin etc dir since passwords are not stored in passwd but in shadow but still you got some point there,so what type of hardening do you think would help so they wouldnt gain access thru ftp?
thank you,hows about ur smoking how many cigars do you smoke daily? would bet 20 ,and thirty on weekends just like a freaking teenager jojoj
To sudo ftp then hit return. You will then be prompted for the superuser password. Type it in, hit return, and you're FTPing as the superuser (as long as your FTP daemon is configured to accept the superuser as a remote login; sometimes they're default configured not to for security reasons).
Hope this helps.
MOD NOTE: Signatures must be setup in your profile and not manually added to posts.
You can su to root from any user generally speaking - but NOT from within an FTP session.
█ CanSpace Solutions - www.canspace.ca - Canada's leading domain registrar and web hosting provider
█ Premium Canadian Web Hosting and .ca domains. Trusted by Canada's largest corporations