[Jailkit-users] does not jail user when running through cron
From:
Ross Linnett
Subject:
[Jailkit-users] does not jail user when running through cron
Date:
Thu, 25 Oct 2007 12:54:23 +0100
We created a script that runs through a cron that jails user that are registered in a mysql database.. If i run this script from command line it works fine.. if i run it on a cronjob it does all jobs necessary such a create the system account etc.. but does not seem to jail the user properly..
i have checked the files jaildirectory/etc/passwd and the user details have been inserted there
if i run the jk_jailuser command for that user it will give me a message to say that user is already jailed..