jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Problems configuring in Suse 10.2


From: Olivier Sessink
Subject: Re: [Jailkit-users] Problems configuring in Suse 10.2
Date: Tue, 06 Mar 2007 22:43:39 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Jere Retzer wrote:
I have the /etc/passwd in the file now. The sequence I'm using creates the 
groups and users and then moves them to the jail. It reads:

mike:x:1001:1000::/home/mike:/usr/sbin/jk_lsh
lcmc:x:1002:1001::/home/lcmc:/usr/sbin/jk_lsh

Now I can get a session by sftp address@hidden but it terminates as soon as I 
enter the password. Here is what I see in /var/log/messages:

just fix what the logs say is wrong


Mar  6 12:21:21 thinkpad jk_chrootsh[13879]: abort, path /home/jail/./home/lcmc 
is setgid

remove the setgid bit from that directory
(chmod u-s /home/jail/./home/lcmc)

Mar  6 12:21:21 thinkpad jk_chrootsh[13879]: abort, path /home/jail/./home/lcmc 
does not have group 1001

make the path owned by group 1001
(chown lcmc:1001 /home/jail/./home/lcmc)

Mar  6 12:21:39 thinkpad jk_chrootsh[13886]: abort, path /home/jail/./home/mike 
is setgid

chmod u-s /home/jail/./home/mike

Mar  6 12:21:39 thinkpad jk_chrootsh[13886]: abort, path /home/jail/./home/mike 
does not have group 1000

chown lcmc:1000 /home/jail/./home/lcmc

regards,
        Olivier




reply via email to

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