>I have a stupid question. Very very stupid, and I can't figure it
>out....but I am not stupid...so don't infer that in your answer! :-o
>I have just setup my own web server, and have a question. Can someone
>setup a web site, if all they have is an FTP account? Or would it
>take a telnet account, in addition to that.
Well ... an ftp account as whom? If it is as root, then I think
that it would be possible, though certain things might be difficult. You
would probably have to ftp out the /etc/rc.local (on a BSD flavored system),
modify it, and re-install it. On recent SysV flavored ones, you would
probably need to put in a /etc/rc2.d/S??something to start it, and you would
probably need to modify the permissions on that (possibly by overwriting one
of the other S??something files first). As our ftp is set up, you would
need to modify the permissions on a *lot* of things, since ftp strips off
the execute bit on the files which it writes. Once things are set up, you
would need to force a reboot to get the scripts executed. (Unless someone
knows a way to execute arbitrary programs via ftp.)
Of course, if you have an ftp account as root, then you have your
telnet account as well, with a little work.
With an ftp account as a normal user, it would be *very* difficult,
since I don't see any way to either start the httpd as a daemon, or to get
it into inetd with the right paths (to that user's home directory) to get it
run automatically.
With an annonymous ftp account, I don't see *how* it would be done,
but if it can, someone will probably figure out how. :-)
--
Disclaimer: No statements herein are to be considered as necessarily
representing the opinions of the Department of the Army or Night Vision Labs.
Black holes are where GOD is dividing by zero -- (author unknown)