Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th November 2013, 16:22
robertom robertom is offline
HowtoForge Supporter
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
 
Default Error with "Jailkit and Debian Wheezy" (numerical user and group of files)

Hi, sorry for my bad english.

I encountered some problems with the use of jailkit in debian wheezy.

After a new installation of debian and ispconfig 3 I've created a new ssh user "jailed" and I can login without problems, but user and group of files have numeric value instead of correct user:group

Code:
roberto@example.com:~$ ls -la /web
total 36
drwx--x---  4 5004 5005 4096 Nov 19 10:16 .
drwxr-xr-x 19 0    0    4096 Nov 18 23:30 ..
-rwxr-xr--  1 5004 5005   26 Nov 18 13:50 .htaccess
drwxr-xr-x  2 5004 5005 4096 Nov 18 13:50 error
-rwxr-xr--  1 5004 5005 7358 Nov 18 13:50 favicon.ico
-rwxr-xr--  1 5004 5005 1861 Nov 18 13:50 index.html
-rwxr-xr--  1 5004 5005   14 Nov 18 13:50 robots.txt
drwxr-xr-x  2 0    0    4096 Nov 19 09:59 stats
when I try to scp a file on server I have an error

Code:
roberto@localdev:~$ scp test.php roberto@example.com:/home/roberto
unknown user 5004
this problem is due to a new library path in Debian Wheezy bug #38596

after applied the patch I've updated my jail with:

Code:
jk_init -f -k -c /etc/jailkit/jk_init.ini -j /var/www/clients/client1/web3 uidbasics netbasics
and the error is gone...

Code:
roberto@example.com:~$ ls -la /web
total 36
drwx--x---  4 roberto client1 4096 Nov 19 10:16 .
drwxr-xr-x 19 root    root    4096 Nov 18 23:30 ..
-rwxr-xr--  1 roberto client1   26 Nov 18 13:50 .htaccess
drwxr-xr-x  2 roberto client1 4096 Nov 18 13:50 error
-rwxr-xr--  1 roberto client1 7358 Nov 18 13:50 favicon.ico
-rwxr-xr--  1 roberto client1 1861 Nov 18 13:50 index.html
-rwxr-xr--  1 roberto client1   14 Nov 18 13:50 robots.txt
drwxr-xr-x  2 root    root    4096 Nov 19 09:59 stats
Reply With Quote
Sponsored Links
Reply

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
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 19:01
jailkit not working on ISPconfig v 3.0.2 Debian Lenny jwlinux General 14 5th May 2011 16:03
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
strange problem adding a new user to a group gilas Installation/Configuration 0 30th June 2010 11:05
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 12:57


All times are GMT +2. The time now is 20:38.


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