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 -- 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/
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"
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: Sent: 25 May 2000, Thursday 14:41 Subject: [SLE] FTP 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
-- 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/
Hmm there is a package (rpm) on the CDs/ftp site/where ever that sets up
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.
kw
/* Keith Warno
** Developer & Sys Admin
** http://www.HaggleWare.com/
*/
----- Original Message -----
From: "Michael J. McGillick"
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: Sent: 25 May 2000, Thursday 14:41 Subject: [SLE] FTP 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
-- 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/
longish quote from FHS-2.1, section 4.5: "4.5 /usr/local : Local hierarchy The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr. /usr/local - Local hierarchy | |-- bin Local binaries |-- games Local game binaries |-- include Local C header files |-- lib Local libraries |-- sbin Local system binaries |-- share Local architecture-independent hierarchy |-- src Local source code This directory should always be empty after first installing a FHS-compliant system. No exceptions to this rule should be made other than the listed directory stubs. Locally installed software should be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr. Note that software placed in / or /usr may be overwritten by system upgrades (though we recommend that distributions do not overwrite data in /etc under these circumstances). For this reason, local software should not be placed outside of /usr/local without good reason." and from the main part of Section 4: "4. The /usr Hierarchy /usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various hosts running FHS-compliant and should not be written to. Any information that is host-specific or varies with time is stored elsewhere." Note that 6.4 went gold before this spec was released. Question is, what's all this mean? FTP trees are definatly local. FTP is also often written to. I personally always re-locate it to /home/ftp because /home is always on a seperate partition for me and i install stuff i want to live through upgrades there. maybe FTP should belong in /home, since there's actually an FTP user, and this is the tree used for this anonymouse users access? anyway, just some thoughts. -- Rocky McGaugh rmcgaugh@atipa.com On Thu, 25 May 2000, Keith Warno wrote:
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.
kw /* Keith Warno ** Developer & Sys Admin ** http://www.HaggleWare.com/ */
-- 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/
participants (3)
-
keith@HaggleWare.com
-
mike@universe.ne.mediaone.net
-
rmcgaugh@atipa.com