Date: Mon, 20 Aug 2001 22:32:21 -0400 From: Brian T.Schellenberger <bts@babbleon.org> To: "Shannon Wheeler" <swheeler@mce.ab.ca>, <freebsd-questions@FreeBSD.ORG> Subject: Re: user management Message-ID: <01082022322104.00565@i8k.babbleon.org> In-Reply-To: <002d01c129ce$b9545c80$0d00a8c0@mshome.net> References: <002d01c129ce$b9545c80$0d00a8c0@mshome.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 20 August 2001 19:20, Shannon Wheeler wrote: > OK, I hate to bug you people but... > > I want to create a user and allow him ftp access to a specific directory > (/usr/local/www/data/userspage) > > I can make a symbolic link to that directory under the user's home > directory - is this the best way to do this? Why not just set his home directory to that location in the passwd file? > What should I set the user's login shell to? He doesn't need to log in if you only want him to ftp, so just disable logging in but enable ftp access. I think that /dev/null would work so long as you add it to /etc/shells. > and > How do I limit the user's access to only that directory? You add te user to /etc/ftpchroot You know, I didn't know the answers to any of these questions 10 minutes ago (except for the one about the home directory); I just did "man ftpd" to find out. You might want to try this sort of strategy next time before you post. > > thank you, > Shannon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) --------------------> Free Dmitry Sklyarov! <------------------------- 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?01082022322104.00565>