|Subject:||Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?|
|Date:||Sat, 25 May 2013 14:59:43 +0100|
You should be able to "su - user" to become the chrooted user.
You only need the "sudo" part to go from one non-root user to become the chrooted user.
So the command your suggesting should work if you have your jail setup correctly.
On 24/05/2013 23:39, Marcus Eting wrote:
I just got jailkit up and running on Ubuntu 12.04 and I have to say it is very impressive - very smart and intuitive to configure. I'm impressed. I'm using it to allow multiple users to connect and manage files in their own public_html directories - owned by them. I also need to periodically help them with files on their websites. If I need to create files or folders, I know that i can do that as the root user and then chown the files to the user - but it would be nice if I could switch to the user's jailkit account and make the edits as if I was the user. On a system without jailkit I would just do "sudo su - username" and that would be that. When I do this to a jailkit user from root it just bounces me right back out to to root. I know the account works fine because I can ssh to the box as the user with the jail kit account, but is there also a way to switch to the jail kit user from a privileged user who is already ssh'ed to the box? _______________________________________________ Jailkit-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/jailkit-users
|[Prev in Thread]||Current Thread||[Next in Thread]|