Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th December 2011, 21:07
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default Question regarding Jailkit/chroot

Hi,

At some point I enabled Jailkit and/or chroot which resulted in a number of folders being created for the site, for example "bin", "lib", "usr", etc.

Question: Is it safe to just delete these folders if I'm not using Jailkit/chroot?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 19th December 2011, 21:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,190
Thanks: 829
Thanked 5,418 Times in 4,260 Posts
Default

you can delete the folders if you dont use any shell users on that website anymore.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th December 2011, 09:25
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
you can delete the folders if you dont use any shell users on that website anymore.
There is a shell user, but it isn't chrooted. (?)
Reply With Quote
  #4  
Old 20th December 2011, 09:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,190
Thanks: 829
Thanked 5,418 Times in 4,260 Posts
Default

You should check in /etc/passwd if really none of the shell users of thst site is chrooted. If no chrooted user isleft, then you can remove the folders.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th December 2011, 09:40
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
You should check in /etc/passwd if really none of the shell users of thst site is chrooted. If no chrooted user isleft, then you can remove the folders.
Hmm ...

web3:x:5005:5006::/var/www/clients/client1/web3/./home/web3:/usr/sbin/jk_chrootsh

Is it possible to remove that using ISPConfig, or should I do it by manually editing /etc/passwd?
Reply With Quote
  #6  
Old 28th December 2011, 09:42
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Is it possible?
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
Networking: Routing / subnet question paulievox HOWTO-Related Questions 1 15th February 2010 23:45
Dumb Virtualhost Question DantePasquale Server Operation 1 16th December 2009 07:43
resolv.conf question Al1937 General 3 22nd September 2009 11:01
multi network 1 nic f10+isp3 question Turbanator Server Operation 2 5th May 2009 19:35
Hostname question, and DNS question andrewfashion General 1 20th April 2009 13:30


All times are GMT +2. The time now is 16:31.


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