jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] I have no name!


From: Chip Atkinson
Subject: Re: [Jailkit-users] I have no name!
Date: Wed, 20 Jun 2012 09:37:34 -0600

It looks like you don't have /etc/shadow in there.  Maybe that's a
problem. 

Try running strace and see if that gives you any help:
strace id

It'll show you what files it's trying to open and that often gives
insight into the real problem.

Chip


On Wed, 2012-06-20 at 08:10 -0700, Tomi Leppänen wrote:
> Hi
> I have a problem with jailkit. When I login to chrooted user I get 
> following error message:
> groups: cannot find name for group ID 1002
> and my prompt looks like this:
> I have no address@hidden:~$
> 
> whoami, id and groups can't find names and /etc/passwd and /etc/group 
> seem to be allright.
> http://pastebin.com/igYbkaEc (expires in 30 days, I'll post a new one if 
> needed)
> 
> It looks like group id and user id don't get associated with their 
> names. I have some (about five years now) experience in Linux and its 
> command line but I couldn't figure this out. Why this happens? How could 
> I fix it or is it a bug?
> 
> My setup is Ubuntu Server 12.04 LTS (64-bit) and Jailkit build from 
> source (no package or repository) and version is 2.15. The same happened 
> on a fresh Virtualbox installation of the same software.
> 
> Thank you for your help.
>   - Tomi
> 
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/jailkit-users





reply via email to

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