Skip to content
Snippets Groups Projects
Commit 1e0033cf authored by tbrehm's avatar tbrehm
Browse files

- 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
No related branches found
No related tags found
No related merge requests found
...@@ -221,11 +221,14 @@ done ...@@ -221,11 +221,14 @@ done
Installing Jailkit: 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 cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
tar xvfz jailkit-2.5.tar.gz cd jailkit
cd jailkit-2.5
./configure ./configure
make make
make install make install
rm -rf jailkit-2.5* cd ..
rm -rf jailkit
...@@ -162,12 +162,15 @@ done ...@@ -162,12 +162,15 @@ done
Installing Jailkit: 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 cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
tar xvfz jailkit-2.5.tar.gz cd jailkit
cd jailkit-2.5
./configure ./configure
make make
make install make install
rm -rf jailkit-2.5* cd ..
rm -rf jailkit
...@@ -204,11 +204,14 @@ done ...@@ -204,11 +204,14 @@ done
Installing Jailkit: 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 cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
tar xvfz jailkit-2.5.tar.gz cd jailkit
cd jailkit-2.5
./configure ./configure
make make
make install make install
rm -rf jailkit-2.5* cd ..
rm -rf jailkit
...@@ -189,11 +189,14 @@ done ...@@ -189,11 +189,14 @@ done
Installing Jailkit: 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 cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
tar xvfz jailkit-2.5.tar.gz cd jailkit
cd jailkit-2.5
./configure ./configure
make make
make install 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 ...@@ -217,13 +217,16 @@ In case you get a permission denied error from apache, please restart the apache
Installing Jailkit: 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 cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/jailkit co .
tar xvfz jailkit-2.5.tar.gz cd jailkit
cd jailkit-2.5
./configure ./configure
make make
make install make install
rm -rf jailkit-2.5* cd ..
rm -rf jailkit
...@@ -91,7 +91,7 @@ class shelluser_base_plugin { ...@@ -91,7 +91,7 @@ class shelluser_base_plugin {
$command .= ' --gid '.escapeshellcmd($data['new']['pgroup']); $command .= ' --gid '.escapeshellcmd($data['new']['pgroup']);
// $command .= ' --non-unique '; // $command .= ' --non-unique ';
$command .= ' --password '.escapeshellcmd($data['new']['password']); $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 .= ' --uid '.escapeshellcmd($uid);
$command .= ' --login '.escapeshellcmd($data['new']['username']); $command .= ' --login '.escapeshellcmd($data['new']['username']);
$command .= ' '.escapeshellcmd($data['old']['username']); $command .= ' '.escapeshellcmd($data['old']['username']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment