[Top][All Lists]

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

Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit use

From: Richard Scott
Subject: Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?
Date: Thu, 30 May 2013 10:15:06 +0100
User-agent: Roundcube Webmail/0.9.1


I would check where the "bash" binary is in your new jail... and check the correct path is used in the passwd file in the etc folder in the jail.

If they both match up then it should (in theory) be ok.

If not, are you able to reply with the commands you used to create the jail and add in a new user account?



On 30/05/2013 01:56, Marcus Eting wrote:

Thanks Olivier and Rich. I changed the shell for the user to bash in /home/jail/etc/etc so I can SSH into the box as the user and the jail seems to be working fine - I have a pretty good understanding of what's going on with things so I think it is set up right. 

However, I can't "su testuser" but  I was able to run "su testuser -c bash" to get the behavior I want  - that bit of progress was pretty exciting. Do you know why it won't work without the "-c bash" ?
Jailkit-users mailing list


reply via email to

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