jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] [bug #28696] Jailkit Fails to work in Openvz


From: Dan Rossi
Subject: [Jailkit-dev] [bug #28696] Jailkit Fails to work in Openvz
Date: Thu, 21 Jan 2010 01:36:17 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

Follow-up Comment #2, bug #28696 (project jailkit):

Apologies mate, here is more info. I'm using an ispconfig setup so its not an
issue with openvz. There is a root user attached to a website, and then a
shell user which has the same userid as the root user. This is the errors i
get

Jan 20 21:39:35 shared sshd[9082]: pam_unix(sshd:session): session opened for
user webuser by (uid=0)
Jan 20 21:39:35 shared sshd[9082]: pam_env(sshd:setcred): Unable to open env
file: /etc/default/locale: No such file or directory
Jan 20 21:39:35 shared sshd[9082]: subsystem request for sftp
Jan 20 21:39:35 shared jk_chrootsh[9083]: now entering jail
/var/www/clients/client6/web26 for user webuser (1007)
Jan 20 21:39:35 shared jk_chrootsh[9083]: abort, failed to find user 1007 in
/var/www/clients/client6/web26/etc/passwd
Jan 20 21:39:35 shared sshd[9082]: pam_env(sshd:setcred): Unable to open env
file: /etc/default/locale: No such file or directory
Jan 20 21:39:35 shared sshd[9082]: pam_unix(sshd:session): session closed for
user webuser

in the passwd file its

webuser:x:1007:1006:::/sbin/jk_lsh


Maybe try this

in /etc/passwd

web26:x:1007:1006
webuser:x:1007:1006

where web26 is the root user and webuser has the same uid to the root user

in the chroot passwd file

webuser:x:1007:1006:::/sbin/jk_lsh

See what you get. If I use a different shell to jk_lsh it will still close
the connection but no error is produced. 


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28696>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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