Is it possible to set the groups shell to /bin/false or /dev/null, and
change the ownership and group of the directory to the group?  Make sure
the directory is in a chrooted directory under the desired file sharing
service.

That way, normal users can't shell into it, and the only way in is via the
protocol you choose, if you're in that group.

Of course, I could be wrong.  Discuss.

tack


On Thu, 6 Dec 2001, Toby Jacobson wrote:

> A friend of a friend of mine has set up a Proftpd server on a slackware
> linux box, and he would like to define a user group that only has
> permissions in the /home/ftp/ directory; i.e., the group would not have
> shell access, only ftp access to that directory.  That way, on adding
> new users, he can set their group number to that restricted group.
> The groupadd manual was not all that enlightening.  Does anyone have
> prior experience with this?
>
> -malen
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
>
> _______________________________________________
> Bits mailing list
> [EMAIL PROTECTED]
> http://www.sugoi.org/mailman/listinfo/bits
>

-- 
------------------------------------------
"Don't blame me, I voted for Kodos"
- Homer J. Simpson


_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits

Reply via email to