Prev Previous Post   Next Post Next
  #1  
Old 10th August 2011, 14:46
andrercmeira andrercmeira is offline
Junior Member
 
Join Date: Aug 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSH Jailkit fail

I need create user chroot,
The install follow tutorial (perfect server (debian 6))

but user create chroot not log, if I change to none, user log but view all file system.

after change ispconfig to log in debug mode, and execute manualy server.sh the result is this:

Code:
10.08.2011-09:34 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
10.08.2011-09:34 - DEBUG - Found 1 changes, starting update process.
10.08.2011-09:34 - DEBUG - Unable to register function 'insert' from plugin 'mailman_plugin' for event 'mail_mailinglist_insert'
10.08.2011-09:34 - DEBUG - Unable to register function 'update' from plugin 'mailman_plugin' for event 'mail_mailinglist_update'
10.08.2011-09:34 - DEBUG - Unable to register function 'delete' from plugin 'mailman_plugin' for event 'mail_mailinglist_delete'
10.08.2011-09:34 - DEBUG - Calling function 'insert' from plugin 'shelluser_base_plugin' raised by event 'shell_user_insert'.
10.08.2011-09:34 - DEBUG - Executed command: useradd -d /var/www/clients/client2/web2 -g client2 -o  -p \$1\$3Q0NH5ue\$T38qmk3VkuQ3xcIHgwVOm. -s /bin/bash -u 5005 cortesias_teste
10.08.2011-09:34 - DEBUG - Added shelluser: cortesias_teste
10.08.2011-09:34 - DEBUG - Disabling shelluser temporarily: usermod -s /bin/false -L cortesias_teste
10.08.2011-09:34 - DEBUG - Calling function 'insert' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_insert'.
10.08.2011-09:34 - DEBUG - exec: chmod 755 /var/www/clients/client2/web2
10.08.2011-09:34 - DEBUG - exec: chown root:root /var/www/clients/client2/web2
usermod : nenhuma mudança
10.08.2011-09:34 - DEBUG - Added jailkit user to chroot with command: /usr/local/ispconfig/server/scripts/create_jailkit_user.sh cortesias_teste /var/www/clients/client2/web2 /home/cortesias_teste /bin/bash web2 /home/web2
10.08.2011-09:34 - DEBUG - Added created jailkit user home in : /var/www/clients/client2/web2/home/cortesias_teste
PHP Warning:  mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 270
10.08.2011-09:34 - DEBUG - Added created jailkit parent user home in : /var/www/clients/client2/web2/home/web2
10.08.2011-09:34 - DEBUG - exec: chmod 755 /var/www/clients/client2/web2
10.08.2011-09:34 - DEBUG - exec: chown root:root /var/www/clients/client2/web2
10.08.2011-09:34 - DEBUG - Jailkit Plugin -> insert username:cortesias_teste
10.08.2011-09:34 - DEBUG - Processed datalog_id 285
10.08.2011-09:34 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
and log into /ispconfig/cron.log is

Code:
mkdir: é imposs*vel criar o diretório "/var/www/clients/client2/web2/var": Arquivo existe
mkdir: é imposs*vel criar o diretório "/var/www/clients/client2/web2/var/run": Arquivo existe
cat: /root/.ssh/authorized_keys: Arquivo ou diretório não encontrado
usermod : nenhuma mudança
PHP Warning:  mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 270
PHP Warning:  mkdir(): Arquivo existe in /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php on line 276
usermod : o usuário corteria_teste está logado no momento
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing the use of java by ssh users (jailkit) crohakon General 0 11th June 2011 21:43
setting up chrooted ssh user, jailkit installed after ispconfig bn61 Installation/Configuration 7 5th May 2011 16:02
Apache2 FCGID locking up the box? crypted General 6 12th April 2011 16:16
Jailkit SSH user login fails outeredge General 7 21st February 2011 14:40
SSH jailkit wrong folder aldo Installation/Configuration 3 17th January 2011 12:41


All times are GMT +2. The time now is 12:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.