I was trying to use rssh to restrict regular users - it works like
charm.

Then, I've tried to restrict users with UID=0 - unfortunately, chroot
doesn't seem to work in that case.

Consider the following users in /etc/passwd:

root:x:0:0:root:/root:/bin/bash
some@user:x:0:0::/mnt/storage/some@user:/usr/bin/rssh


I'm getting chroot for some@user when the UID is different than 0.
If the UID for some@user is set to 0, I'm no longer getting the
chroot and I'm able to browse the whole server.

Is it expected behaviour?



-- 
Tomasz Chmielewski
http://wpkg.org

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to