View Single Post
Old 26th August 2011, 17:02
corpus corpus is offline
Junior Member
Join Date: Jan 2011
Posts: 29
Thanks: 8
Thanked 12 Times in 9 Posts

if i understand the topic i have to do :
vim /usr/local/ispconfig/server/plugins-available/
comment out line 100
 //* $command = 'usermod -s /bin/false -L '.escapeshellcmd($data['new']['username']);
and make it
$command .= 'usermod -s /usr/sbin/jk_chrootsh -U '.escapeshellcmd($data['new']['username']);
after this i created a new user
got logged in this time
but the user is not jailed
the new user has bash in /etc/passwd
any solution?

Last edited by corpus; 26th August 2011 at 17:04. Reason: /etc/passwd
Reply With Quote