[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 user

From: Marcus
Subject: Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?
Date: Fri, 31 May 2013 00:01:52 -0400

Rich - thanks so much for testing that out. Not sure why your jail is called 
scott but that is fine I guess. Here is what I'm trying - it is mostly similar 
to yours - execpt on Ubuntu my bash appears to be in /bin/bash instead of 

address@hidden:~$useradd -m -K UMASK=0066 -s /bin/bash myuser
address@hidden:~$jk_jailuser -m -j /home/jail myuser
address@hidden:~$su - myuser
address@hidden:~$ (no luck)
address@hidden:~$vi /home/jail/etc/passwd (changed shell to bash )
address@hidden:~$su - myuser 
address@hidden:~$ (no luck)
address@hidden:~$cat /etc/passwd | grep myuser
address@hidden:~$groups myuser
myuser : myuser
address@hidden:~$cat /home/jail/etc/passwd | grep myuser
address@hidden:~$su - myuser
address@hidden:~$ (no luck)

Anything I am doing wrong?

reply via email to

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