Bugtraq mailing list archives
Re: Bad Advise
From: shipley () merde dis org (Evil Pete)
Date: Tue, 26 Jul 1994 16:01:14 -0700
Christopher W. Klaus wrote: % Here is some advise from Sun that I highly recommend you DO NOT DO. % % Make the home directory owned by ``ftp'' and unwritable % by anyone. % % I highly recommend you change that to owned by ``root''. I was thinking about ownership of the whole ftp-tree by user `nobody'. Are there any benefits to using `root' instead of `nobody'?
personaly I have a dedicated ftp server that mounts the /ftp partition
via tcp-nfs as a readonly partition. (I only use tcp NFS because cause
they are more resistant to udp NFS attacks).
for those with suns I suppose you can use the loopback filesystem
and loopback mount the file system readonly then set the readonly mount as
the chroot for ftp as the readonly mount.
for example:
passwd:
ftp:*:12:11:FTP User Uid:/ftp:/no exist
fstab:
/dev/sd3d /home/ftp 4.2 rw,nosuid 1 3
/home/ftp /ftp lofs ro,nosuid,noquota 0 0
thus people that ftp will not be able to do anything to the partition
and yet user can add/delete/modify files.
WARNING: lofs has a security bug in SunOS 4.0.3 (fixed in 4.1 and higher)
that allowed root to delete any file even if the filesystem was
mounted readonly.
Current thread:
- Re: coredumps on setuid programs., (continued)
- Re: coredumps on setuid programs. George Boyce (Jul 22)
- Bad Advise Christopher Klaus (Jul 24)
- Re: Bad Advise smb () research att com (Jul 25)
- Re: Bad Advise Christopher Klaus (Jul 26)
- Re: Bad Advise Chris Ellwood (Jul 25)
- Re: Bad Advise G.J.W. Hagenaars (Jul 26)
- Re: Bad Advise Mark Moraes (Jul 26)
- Re: Bad Advise Philip Yzarn de Louraille (Jul 27)
- Bad Advise Christopher Klaus (Jul 24)
- Re: Bad Advise jim () Tadpole COM (Jul 26)
- Re: Re: Bad Advise Pete Hartman (Jul 26)
- Re: Bad Advise Evil Pete (Jul 26)
- Re: Bad Advise David Lawrence Oppenheimer (Jul 26)
- Re: coredumps on setuid programs. George Boyce (Jul 22)
- Re: Bad Advise Harold van Aalderen (Jul 26)
- Re: Bad Advise Christopher Klaus (Jul 26)
- Re: Bad Advise Timothy Newsham (Jul 27)
- -froot??? (AIX rlogin bug) Eric Wedaa (Jul 29)
- Re: -froot??? (AIX rlogin bug) Aaron Eppert (Jul 29)
- Re: -froot??? (AIX rlogin bug) Mark G. Scheuern (Jul 30)
- Re: -froot??? (AIX rlogin bug) Alexander Haiut (Jul 30)
- Re: -froot??? (AIX rlogin bug) Baba Z Buehler (Jul 30)
- Solaris problems? James W. Abendschan (Jul 29)
