jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] Jailkit on CentOS 5.8 / Amazon EC2 / RightScale


From: John McGowan
Subject: [Jailkit-users] Jailkit on CentOS 5.8 / Amazon EC2 / RightScale
Date: Sat, 22 Sep 2012 09:18:55 -0500

I've been struggling with getting a chrooted user environment on an
Amazon ec2 instance with a Centos 5.8 image on the RightScale
management platform.

At first I spent a bunch of time trying to get the
"make_chroot_jail.sh" script to work.  That wasn't going so well so I
decided to start from scratch with jailkit.  It seemed like it might
be a more recently maintained solution.

So far I've gone through the simple "test" setup, with the exception
of a couple warnings about directory ownership, and a deprecated
jk_addjailuser call, everything went smoothly.

I added my public key to the jailed users .ssh/authorized_keys file
and set proper ownershipt/permissions on those files.  But when I try
to login, it fails, and there's hardly anything in /var/log/messages
or /var/log/secure.

When i try to login, all i see in the secure log is...

Sep 22 10:13:51 ip-10-90-242-163 sshd[1589]: Connection closed by 71.82.174.104

Absolutely nothing shows up in /var/log/messages

My ultimate goal here is to be able to provide users with
scp/rsync/ssh access to a subset of the filesystem.

Any advice on how I can debug this or anybody know of any caveats in
working in the environment I'm in?



/John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]