#1  
Old 10th April 2009, 23:13
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Smile Permissions with jailkit

Hi all,

I'm a newbie in linux, but already love it!
Yesterday i installed ISPconfig 3, really just a great work!

Now i have created a website to a friend, he also created a shell user (in jailkit), and wanted to use it for an eggdrop bot. When he tries to run the ./configure command (he used the guide at http://www.egghelp.org/setup.htm), he gets a permission denied error.

How can i give him permission to run his eggdrop?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 11th April 2009, 10:34
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

A jailed account is always limited to some basic functions to use the shell to manage and edit files. It does not include all applications to develop or compile software in c and c++ to prevent that the users take over your server. What you are trying to do is to compile a application in a jailed account which is not possible due to the limits. You can try to add more applications that you need for this to the jail, take a look at the jailkit documentation for this or you compile the eggdrop bot for him and install it in his website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th April 2009, 14:41
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Default

Okay, thanks.

If you buy a shell at someplace, you will be able to compile your own eggdrop, so i would like to make my users able to do that too (it's only for friends, so the security does'nt matter that much).

Some specific commands would be nice, i'm not that good at linux yet

Thanks!
Reply With Quote
  #4  
Old 11th April 2009, 14:58
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Default

I just tried to compile the eggdrop as root, but i still gets the "permission denied" error. Even if i placed the files in /home/
Reply With Quote
  #5  
Old 11th April 2009, 17:26
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

Normally you can not get a permission denied error when you are logged in as root. Most likely you were not root or you executed the command with sudo which will not work for most compile scripts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 11th April 2009, 18:10
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Default

I WAS logged in as root and i used nothing else than "./configure"
Now i've found out that i could do it with "sh ./configure", but now i can't do the "make config":
server1:/home/eggdrop1.6.19# make config
make: execvp: ./misc/modconfig: Permission denied
make: *** [config] Error 127

Just to ensure you:

server1:/home/eggdrop1.6.19# whoami
root
server1:/home/eggdrop1.6.19# ./configure
-bash: ./configure: Permission denied
Reply With Quote
Reply

Bookmarks

Tags
eggdrop, ispconfig 3, jailkit, permission

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
Mailscanner SA Bayes Permissions klausengelmann Server Operation 12 15th July 2011 10:46
Verify proper permissions filch General 6 7th February 2009 15:05
Pureftpd Permissions Problem GaulHahn Server Operation 6 17th October 2008 13:54
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 02:58
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 15:43


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


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