jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] does not jail user when running through cron


From: Olivier Sessink
Subject: Re: [Jailkit-users] does not jail user when running through cron
Date: Thu, 25 Oct 2007 18:16:12 +0200
User-agent: Icedove 1.5.0.14pre (X11/20071018)

Ross Linnett wrote:

> 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..

what happens? do you see any log message?

> 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..
> 
> Then if this user logs in again they are jailed

try running jk_jailuser with -v to see what is being changed.

is the log message different now?

Olivier





reply via email to

[Prev in Thread] Current Thread [Next in Thread]