Possible UID/GID bug in chrooted shells?
Martin Pool
mbp at samba.org
Thu Jun 13 13:31:18 EST 2002
On 13 Jun 2002, Tom Worley <tom at worley.co.uk> wrote:
> On Thursday 13 June 2002 5:40 am, Martin Pool wrote:
> > What do you mean by that? Their /etc/passwd shell is some "chrooted
> > session" program? If you wrote it please post the source, otherwise
> > what is the name.
> Setup as described here:
> http://tjw.org/chroot-login-HOWTO/
> (but with only the libs required for rsync, bash and su)
> Basically the shell is a wrapper that runs chroot (using sudo privaledges)
> then su -'s to the user inside the chroot
And does that actually work with ssh when a command is passed?
What does
ssh luser at localhost id
ssh luser at localhost pwd
show? (You will need to install those commands into the jail.)
--
Martin
More information about the rsync
mailing list