Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 1999 00:40:58 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Jason Scott' <freepix@sirius.com>
Cc:        "FreeBSD Mailing List (E-mail)" <questions@FreeBSD.org>
Subject:   RE: Allowing users access
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB44011058F9@site2s1>

next in thread | raw e-mail | index | archive | help
It may be useful to look through the mailing list archives on this, as I've
never done it myself. (http://www.FreeBSD.org/search/)

BUT, as this question has been asked several times I believe I know there
answer.

Put the usernames of the users in /etc/ftpchroot, what you'll need to do, if
you do that is to make a dir in each user's home dir called ~/bin and copy
the files from ~ftp/bin into that dir.  Otherwise you would have to
re-compile ftpd with FTPD_INTERNAL_LS.  I'm sure someone else on the list
could give you more detailed instructions on this.  But it can be done.

-Chris

P.S.  Take a look at this posting on freebsd.org..
http://www.freebsd.org/cgi/getmsg.cgi?fetch=839110+841779+/usr/local/www/db/
text/1998/freebsd-questions/19981108.freebsd-questions

> -----Original Message-----
> From:	Jason Scott [SMTP:freepix@sirius.com]
> Sent:	Sunday, May 23, 1999 12:30 AM
> To:	Christopher Michaels
> Subject:	RE: Allowing users access
> 
> Thank you very much for this information.  Do you happen to know how to
> restrict users to only upload/download/edit files in their directory/home
> and nothing before that?  If so I would GREATLY appreciate it.
> 
> Thank You,
> Jason Scott
> 
> 
> At 12:20 AM 5/23/99 -0400, you wrote:
> >Grab nologin from the ports section.
> >Install it.
> >Add it to the /etc/shells file.
> >Change the users' shells to nologin (/usr/local/bin/nologin I think).
> >
> >ftp will allow them access since they are using a valid shell (as per
> >/etc/shells) but the nologin shell will not allow them to telnet in.
> >
> >-Chris
> >
> >> -----Original Message-----
> >> From:	Jason Scott [SMTP:freepix@sirius.com]
> >> Sent:	Saturday, May 22, 1999 7:26 PM
> >> To:	FreeBSD-questions@FreeBSD.ORG
> >> Subject:	Allowing users access
> >> 
> >> I would like to allow users access to FTP their files into their
> >> individual
> >> accounts on my server, but I don't want to allow Telnet (or allow only
> >> limited telnet) so that my server's files are not altered.  If anyone
> has
> >> any experience in this, or could point me in the right direction, I
> would
> >> appreciate it EXTREMELY.  I have read several books, including "the
> >> complete freebsd" and more, and I haven't been able to find anything...
> >> 
> >> Thank You,
> >> Jason Scott
> >> 
> >> Please reply via e-mail to: freepix@sirius.com
> >> 
> >> 
> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
> >> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB44011058F9>