Under SuSE's config, anonymous users would write to some dir below
/usr/local/ftp/. That is, which ever dirs you have writable for them (via
the usual file system permissions and ftp config files).
Normal, aka, "real" users will write to their home dirs, or anywhere else
they are allowed to. Again, anonymous users can only write to some place
below /usr/local/ftp/ because they are chroot()ed to /usr/local/ftp/.
Regards,
kw
/* Keith Warno
** Developer & Sys Admin
** http://www.HaggleWare.com/
*/
----- Original Message -----
From: "Michael J. McGillick"
-----Original Message----- From: Keith Warno [mailto:keith@HaggleWare.com]
I honestly do not know what the "correct" location -- if there is such a thing -- is. For as long as I've been using SuSE (since 5.3? mebbe earlier) it's been in /usr/local/ftp. I'm assuming it's in this location because the ftp user isn't a "real" user; /home/ is generally where "real" users live.
Yeah, but /usr shouldn't be written to except when installing software, right? Or am I missing something here? Are we talking about where anonymous users write to when they log in? If so, /usr/local/ftp would
not
be a good place for it.
Greg
Keith:
Please bear with my SuSE newbieness :)
The default location that Red Hat uses for all anonymous FTP activity is /home/ftp. Is this different under SuSE? I see you mention /usr/local/ftp. Is this the correct location for ftp according to the fhs, and Red Hat is simply doing it differently?
- Mike
On Thu, 25 May 2000, Keith Warno wrote:
Hmm there is a package (rpm) on the CDs/ftp site/where ever that sets up the anonymous FTP dir stuff.
But I'll be damned if I know what it is :(
hmm lemme have a look....
keith@develop[pts/10]:~$ rpm -q -a|grep ftp ftpdir-99.4.9-15 keith@develop[pts/10]:~$ rpm -q -l ftpdir /usr/local/ftp/bin /usr/local/ftp/bin/compress /usr/local/ftp/bin/ls /usr/local/ftp/bin/tar /usr/local/ftp/dev /usr/local/ftp/etc /usr/local/ftp/etc/group /usr/local/ftp/etc/passwd /usr/local/ftp/lib /usr/local/ftp/msgs /usr/local/ftp/msgs/msg.dead /usr/local/ftp/msgs/welcome.msg /usr/local/ftp/pub /usr/local/ftp/usr /usr/local/ftp/usr/bin /usr/local/ftp/usr/bin/gzip /usr/local/ftp/usr/bin/ls keith@develop[pts/10]:~$
Ah yes. ftpdir. This is for SuSE 6.2 tho. Chances are the name hasn't changed. I don't know what set of packages you would find it in tho.
Goos luck, kw /* Keith Warno ** Developer & Sys Admin ** http://www.HaggleWare.com/ */
----- Original Message ----- From: "Michael J. McGillick"
To: Afternoon All:
I'm looking at setting up FTP access to my machine, at least for me for now. I used to use Red Hat 6.2, and found that when Red Hat was installed, the /home/ftp was set with all of the appropriate folders (pub, bin, etc.)
Looking at this directory after SuSE 6.4 was installed, I notice that there is just the lost+found directory. Is there a document that shows what to set up in /home/ftp/ for folders, what the purpose of each folder is, and how to allow access for both anonymous users, and users who have an account on my machine? I understand that the install of SuSE 6.4 probably did not set this automatically, as I can see how someone might take advantage of an ftp site if the owner of the machine was unaware of what was going.
Any pointers in the right direction?
- Mike
Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/