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
  #1  
Old 29th October 2012, 02:47
foxx foxx is offline
Junior Member
 
Join Date: Feb 2010
Posts: 5
Thanks: 1
Thanked 2 Times in 1 Post
Question Cronjob handling, webpage users shell doesn't change - Bug?

I'm very confused how user cronjobs are handled.

I've created a user which at first had only URL cron rights.
This worked quite well and all the URLs were executed as expected.

Than I added a new PATH cronjob as admin to this user. There wasn't any error and I haven't seen that this user should only be able to have URL crons.

This cron didn't worked as expected and I found the problem: The webpage users (webXX) shell was set to Jailkit but Jailkit wasn't configured properly:

Code:
abort, homedir '/var/www/clients/clientX/webXY' for user webXY (5008) does not contain the jail separator <jail>/./<home>
I decided to add the jail seperator manually and the cronjob started working - but only inside chrooted Jailkit (I haven't found any way to choose between Jailkit/Full execution as admin).

My aim was and is to get the cronjob work in the full environment - not chrooted.

So I changed the users Cron Type Limit to "Full Cron" - nothing changed.
Than I recreated the cronjob inside ISPConfig as the user - nothing changed.

The cronjob is still executed by the webpage UNIX User webXX and it's shell is still the jailkit shell.

This is very confusing. Is this the desired behaviour or should I fill a bug report.

Is there any way of changing the webpage users shell to the default bash/sh... with ISPConfig or do I have to do this manually?
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
chroot, cron, error, jailkit

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
How to change the default webpage? claws Installation/Configuration 2 25th June 2010 14:19
Leting users change the email password? edge Server Operation 6 21st April 2008 01:21
Change jailed user login shell dsadm Installation/Configuration 7 3rd October 2007 13:58
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
Change the default pages for users... Hagforce Server Operation 8 11th August 2006 17:08


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


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