[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Jailkit questions
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] Jailkit questions |
Date: |
Fri, 20 Nov 2009 21:42:23 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Anson wrote:
[..]
> However, "cd" "pwd" "kill" etc still work... I'm guessing it's
> because they are tied in to the core bash shell functions somehow. Is
> there anyway to disable all these and any other "core" functions that
> don't have to exist in /bin/bash?
[..]
> but have setup a VPS for a few friends (who need port forwarding SSH
> but don't need to do anything inside the VPS)
hmm so you want them to open a ssh session for the portforwarding, but
they should not be able to do anything useful inside that ssh session,
correct?
why not give them /bin/cat as shell inside the jail? That would make
their shell completely useless, but it will keep the ssh tunnel open..
just copy /bin/cat into the jail, and edit <jail>/etc/passwd and set
/bin/cat as shell.
Olivier