Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 13th October 2011, 00:06
walkero walkero is offline
Junior Member
Join Date: Sep 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default jailkit ssh user and mysql access

Hello to all. Today I wanted to give to a specific ssh user access to mysql. This user was created with jailkit chroot access on the server. What I did was to copy the necessary files from root to this user's folders. To be more speciic I did the following:

1. Copied /usr/bin/mysql to /var/www/clients/client1/webX/usr/bin/
2. Copied /usr/lib/libmysqlclient.so.16 to /var/www/clients/client1/webX/usr/lib/. This file is a link, so I copied and the equivalent library file in the same folder
3. Copied /usr/lib/libstdc++.so.6 to /var/www/clients/client1/webX/usr/lib/. Same as above.
4. Copied /lib/libgcc_s.so.1 to /var/www/clients/client1/webX/lib/

By doing these steps, the user got access to the mysql, and only on his own domain database, as I wanted.

What I would like to ask is if what I did was the right way to configure that, or there is a better way to do it.

Thank you all for your time.
Reply With Quote
Sponsored Links


chroot, give access, jailkit, mysql, ssh

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
MySQL Error Nolan Installation/Configuration 13 27th November 2014 06:04
Auth.log question spikes Server Operation 0 12th December 2010 22:24
CPU load locks up box. Apache or MYSQL related. crypted General 61 29th October 2010 23:16
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 21:38
Can't Remote Access mysql 4.1 dedibox Installation/Configuration 2 24th August 2006 11:32

All times are GMT +2. The time now is 05:09.

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