#1  
Old 17th July 2009, 21:50
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default Access to chroot programs

In the Jailkit tab of the Server Config panel of ISPC3, there is a box to place additional jailkit chroot apps. I need to add access to sftp, unzip, and bzip2 to my chroot users. I've added the program names to the Jailkit chroot app sections and even placed the path to the bin in the Jailkit chrooted applications. I've even completely rebooted the machine, but my chroot users do not have access to these programs.

How can I add access to these programs to chroot users?
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2009, 12:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

These settings are only applied to new or updated users.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th July 2009, 12:48
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default

Well....... that wasn't what I wanted to hear. :-(

Here's a couple more questions for you.
1) You mentioned "updated users". What would I need to do to update my user so that these changes take effect?

2) Jailkit app sections includes sftp by default. However, I don't have access to run the program as my client. Shouldn't all clients have access to this command?

3) Can you explain the difference between the " Jailkit chroot app sections" and the "Jailkit chrooted applications" boxes. I want to make sure I have all the programs I need in there prior to any update so my clients will get the necessary programs.



Thanks!

Last edited by Rescue9; 18th July 2009 at 12:54.
Reply With Quote
  #4  
Old 19th July 2009, 13:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

1) Change a setting of the user.
2 + 3) Please take a look at the jailkit manual for a detailed description waht app sections are and how jailkit works: http://olivier.sessink.nl/jailkit/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st July 2009, 01:04
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default

Okay, I'm figuring it out a bit, but I need to get some answers before I can start troubleshooting and figure out if it's user error on my end or a bug.

1) Does the /et /jailkit/jk_init.ini get used by ISPC3? If so, how? Is it called when a shell user's info is altered, or when the client's info is altered?

2) If /etc/jailkit/jk_init.ini is not used, how is jk_init run and which ISPC3 file runs it?

3) I searched everywhere but can't seem to find where ISPC3 puts the logs for jailkit.

4) Might be a bit Off Topic, but I keep seeing "usermod: no changes" in the ISPC3 cron log when I make changes to the user. If the log states that there are no changes, could this be why the jk_init isn't being called when changes are made?

Thanks guys.... tracking this problem down is a bit more difficult than the mail folder issue.
Reply With Quote
  #6  
Old 21st July 2009, 08:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

Take a look at the jailkit plugin for the details how jailkit is used:

/usr/local/ispconfig/server/plugins-avaulable/shelluser_jailkit_plugin.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
update failed loge Installation/Configuration 6 1st December 2007 17:53
chroot access problem adrenalinic Server Operation 4 30th June 2007 16:10
Problem Installing ISPConfig on a Debian System xyhfna Installation/Configuration 17 6th February 2007 14:09
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 01:34.


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