Re: ssh help, I want user to be able to access only specified folders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have you tried putting users into groups and then giving permissions to
the groups in the directory. Create a directory with permission for the
owner then the group and no world access. Users that belong to that
group will be allowed access. Another is the setfacl command on the
directory you want to control access.
This will control access to the individual Directories.
Another way to control login shells is to use rbash. A restricted bash
shell. Use with caution.
Here is more info on that from securityfocus.com on rbash and other
stuff.
http://www.security-forums.com/forum/viewtopic.php?p=2614



 



 
On Thu, 2004-07-01 at 12:16, Phil Schaffner wrote:
> On Thu, 2004-07-01 at 12:49 -0500, Jonathan S wrote:
> > I am new to Fedora, and Linux in general, I want users to be able to log in 
> > to my computer via ssh, with FC-1 but I want to be able to specify rules for 
> > each so they can only access specified folders is this possable?  If so how 
> > would i go about doing this?
> >   Also is there a difference between fedora-list and fedora-devel list, 
> > cause i already wrote one message to fedora-devel-list and got a wierd 
> > message back about me not being a member, I am new to this so I dont know.
> 
> This is a better target that fedora-devel-list (which is for Fedora
> developers), but it is not a Fedora-specific question.  A google on "ssh
> chroot" shows lots of interesting links.  A couple of promising ones:
> 
> http://debian.chains.ch/chroot/chroot.html
> http://www.brandonhutchinson.com/chroot_ssh.html
> 
> Could also check out https://mail.erdelynet.com/mailman/listinfo/ssh/
> 
> Phil
> 
> Need to make this my signature...
> 
> Please read ESR's excellent advice on getting good help:
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux