Commit 1e0033cf authored by tbrehm's avatar tbrehm

- Updated jailkit installation instructions.

Fixed a bug in ssh user plugin which resulted in a change of the shell to /bin/bash when a user was updated even when jailkit was enabled.
parent 0c78af29
......@@ -221,11 +221,14 @@ done
Installing Jailkit:
// It is nescessary to use the cvs version of jailjit, as the cvs contains a change
// which is nescessary for ISPConfig and has not been released yet.
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
cd jailkit
./configure
make
make install
rm -rf jailkit-2.5*
cd ..
rm -rf jailkit
......@@ -162,12 +162,15 @@ done
Installing Jailkit:
apt-get install build-essential autoconf automake1.9 libtool flex bison
// It is nescessary to use the cvs version of jailjit, as the cvs contains a change
// which is nescessary for ISPConfig and has not been released yet.
apt-get install build-essential autoconf automake1.9 libtool flex bison nano cvs
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
cd jailkit
./configure
make
make install
rm -rf jailkit-2.5*
cd ..
rm -rf jailkit
......@@ -204,11 +204,14 @@ done
Installing Jailkit:
// It is nescessary to use the cvs version of jailjit, as the cvs contains a change
// which is nescessary for ISPConfig and has not been released yet.
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
cd jailkit
./configure
make
make install
rm -rf jailkit-2.5*
cd ..
rm -rf jailkit
......@@ -189,11 +189,14 @@ done
Installing Jailkit:
// It is nescessary to use the cvs version of jailjit, as the cvs contains a change
// which is nescessary for ISPConfig and has not been released yet.
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
cd jailkit
./configure
make
make install
rm -rf jailkit-2.5*
cd ..
rm -rf jailkit
......@@ -217,13 +217,16 @@ In case you get a permission denied error from apache, please restart the apache
Installing Jailkit:
apt-get install build-essential autoconf automake1.9 libtool flex bison
// It is nescessary to use the cvs version of jailjit, as the cvs contains a change
// which is nescessary for ISPConfig and has not been released yet.
apt-get install build-essential autoconf automake1.9 libtool flex bison nano cvs
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
cd jailkit
./configure
make
make install
rm -rf jailkit-2.5*
cd ..
rm -rf jailkit
......@@ -91,7 +91,7 @@ class shelluser_base_plugin {
$command .= ' --gid '.escapeshellcmd($data['new']['pgroup']);
// $command .= ' --non-unique ';
$command .= ' --password '.escapeshellcmd($data['new']['password']);
$command .= ' --shell '.escapeshellcmd($data['new']['shell']);
if($data['new']['chroot'] != 'jailkit') $command .= ' --shell '.escapeshellcmd($data['new']['shell']);
// $command .= ' --uid '.escapeshellcmd($uid);
$command .= ' --login '.escapeshellcmd($data['new']['username']);
$command .= ' '.escapeshellcmd($data['old']['username']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment