jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Jailed user unable to logon


From: Olivier Sessink
Subject: Re: [Jailkit-users] Jailed user unable to logon
Date: Thu, 04 Sep 2014 09:45:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 27-08-14 22:47, address@hidden wrote:
> Hello.
>
> I try to chroot a user using jailkit.
>
> The jail path is /home/jail
> The user name is "fan_speed" and belongs to standard group "users"
> After creation the user home is transferred from /home/fan_speed to 
> /home/jail/home/fan_speed using jailkit script
>       "jk_jailuser -m -j /home/jail/fan_speed"
>
> The new home path for the jailed user is /home/jail/home/fan_speed
>
> When the user try to logon, I get this error in /var/log/message :
>       "abort, homedir '/home/jail/home/fan_speed' for user fan_speed (1004) 
> does not contain the jail separator <jail>/./<home>"
>
> --------------------------------------
>
> /etc/passwd show :
>       "fan_speed:x:1004:100:LOGON USER in 
> JAIL:/home/jail/./home/fan_speed:/usr/sbin/jk_chrootsh"
this looks completely correct... I don't understand.....

>
> /home/jail/etc/passwd show :
>       "fan_speed:x:1004:100:LOGON USER in 
> JAIL:/home/jail/./home/fan_speed:/usr/sbin/jk_lsh"
this looks incorrect, inside the jail it should have /home/fan_speed as
the home directory

Olivier

-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/




reply via email to

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