restricting users with UID=0 does not work?
Brought to you by:
xystrus
From: Tomasz C. <ma...@wp...> - 2014-01-15 10:20:12
|
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 |