[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Jailkit and stripped down puppy linux 3.01
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] Jailkit and stripped down puppy linux 3.01 |
Date: |
Thu, 19 Aug 2010 13:04:05 +0200 |
User-agent: |
SquirrelMail/1.4.20 |
> Hi there,
>
> I'm looking for some advice on using jailkit on a stripped down version of
> puppy linux 3.01 in an embedded system. I am fairly new to linux and have
> spent the last couple days trying different things to restrict a shell
> user to their home directory. I think I have the correct passwd line:
> [user:x:25005:25005:Linux
> User,,,:/home/userjail/./home/user:/usr/sbin/jk_chrootsh].
>
> When I type 'login' and try to login as this user it leaves me with <root>
> and outputs no error message.
jailkit doesn't output messages, but it will send errors to the logging
service. So check your logfiles (usually in /var/log)
> When I run jk_update it says: 'ERROR: while scannign dir
> /home/userjail/bin/: No such file or directory
did you actually initialize the jail? (with jk_init ?)
Olivier