[SunHELP] limit user to home directory in ftp

Nicholas Dronen sunhelp at sunhelp.org
Mon Oct 29 13:39:17 CST 2001


On Mon, Oct 29, 2001 at 02:31:04PM -0500, Edward Chase wrote:
> I'm looking to add a user to a Solaris 7 box that has only the ability to 
> ftp into the box and be locked into their home directory.
> 
> The entry in /etc/passwd is as follows:
> 
> test:x:1014:1:Test acct:/./export/home/test:/bin/false
> 
> This does keep the user from telnetting in, however I can't ftp in with the 
> user.
> 
> In Linux, I would need to make sure that /bin/false was in 
> /etc/shells.  I'm also not sure if the home directory entry would do what I 
> want in Solaris.
> 
> Scratch the shell question...  Man ftpd helped here.
> 
> I guess all that's left is how do I lock someone into their 
> directory?  (Using the standard ftpd)

I don't know this from experience, but I have read elsewhere
that you have to use wu-ftpd for this.

Regards,

Nicholas Dronen



More information about the SunHELP mailing list