[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: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user? |
Date: |
Sat, 25 May 2013 23:48:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
this should be possible since 2.14, as long as you use a command that is
allowed (if you use jk_lsh).
Try:
su testuser -c 'my jailed command'
Olivier
On 05/25/2013 12:39 AM, 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
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
- [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Marcus Eting, 2013/05/24
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Richard Scott, 2013/05/25
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?,
Olivier Sessink <=
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Marcus Eting, 2013/05/29
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Richard Scott, 2013/05/30
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Olivier Sessink, 2013/05/30
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Richard Scott, 2013/05/30
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Marcus, 2013/05/31
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Olivier Sessink, 2013/05/31
- Re: [Jailkit-users] is it possible to "sudo su - user" to a jailkit user?, Marcus, 2013/05/31