jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] Jailkit and stripped down puppy linux 3.01


From: Louis Sadava
Subject: RE: [Jailkit-users] Jailkit and stripped down puppy linux 3.01
Date: Thu, 19 Aug 2010 10:41:24 -0700

Thanks for the response.

I did run a 'jk_init -j /home/userjail jk_lsh' and it copied a bunch of stuff 
and seemed to be happy.  


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Olivier Sessink
Sent: August 19, 2010 4:04 AM
To: address@hidden
Subject: Re: [Jailkit-users] Jailkit and stripped down puppy linux 3.01


> 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



_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users




reply via email to

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