[NTLUG:Discuss] some Qs

MadHat madhat at unspecific.com
Mon Jan 24 07:49:40 CST 2000


MadHat wrote:
> 
> LoneStar wrote:
> >
> > I have a couple of things I can't seem to resolve. Any help would be
> > greatly appreciated.
> >
> > Red Hat 6.1 on a 686i
> > (Red Hat Support clains these are beyond their setup support guidelines)
> >
> > 1) I have a couple of real users (remote) on my system . When they log
> > in with an FTP client, they get full run of my system.  I've tried
> > various chmod configurations and anything other than 755 or 701 will
> > plavce then in the root dir and block net access to thier websites. Any
> > ideas of how to keep them from CDUPing past their public_html or user
> > dirs ?
> 
> There is a section of the FTPd man pages about setting up anonymous anbd
> guest accounts.  It tells how to set it up so they get chrooted into
> their home directory (so they can't get anywhere else).  I can tell you
> some of the points, but I can't remember them all.  You have to add them
> to a group, I know guest will work, in the ftpaccess file, usually
> located in /etc.  There are a few things to look for, like make sure
> that group can overwrite and delete, which they can't by default.  Then
> you make their home directory look like /home/user/./
> 

When I said you make their home directory look like /home/user/./
I meant you have to change it in /etc/passwd
Sorry.  

You have to add the ./ to the end, or you can also change that.  The
details are in the man pages.

-- 
MadHat




More information about the Discuss mailing list