jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Config problems - New users don't work


From: Derek Weichenthal
Subject: Re: [Jailkit-users] Config problems - New users don't work
Date: Wed, 23 Jun 2010 11:42:36 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/23/2010 11:39 AM, Olivier Sessink wrote:
On 06/22/2010 03:36 PM, Derek Weichenthal wrote:
On 06/22/2010 08:59 AM, Olivier Sessink wrote:
On 06/21/2010 02:41 PM, Derek Weichenthal wrote:
address@hidden:/jail/etc# ls -la
-rw-r--r-- 1 root root 86 Jun 10 09:50 passwd

address@hidden:/jail/etc# ls -la /etc/passwd
-rw-r--r-- 1 root root 2370 Jun 10 09:50 /etc/passwd

There is no libnsswitch.conf file present on the system. I am using NIS
though for network authentication, could that possibly be the problem?
My old accounts work while on NIS just fine, though it was with an older
build.

if the system is configured for NIS is the jail also correctly
configured so it will find the account information correctly? Remember
that executables inside the jail cannot read config files from the
real system!

Olivier

_______________________________________________

The account I am testing with is not part of the NIS users and the
previous accounts are not either, they were just created locally on the
system and not added to the NIS setup. Could it be something else
causing the problem? I don't think I mentioned my system before but I am
using Centos5(RHEL5).

are the other jails installed on the same system? what are the differences between those jails? (try with diff -u /workingjail /newjail)

Olivier

Common subdirectories: /var/chroot/cmac/bin and /var/chroot/gennum/bin
Common subdirectories: /var/chroot/cmac/dev and /var/chroot/gennum/dev
Common subdirectories: /var/chroot/cmac/etc and /var/chroot/gennum/etc
Common subdirectories: /var/chroot/cmac/home and /var/chroot/gennum/home
Common subdirectories: /var/chroot/cmac/lib and /var/chroot/gennum/lib
Only in /var/chroot/gennum: lib64
Only in /var/chroot/gennum: sbin
Common subdirectories: /var/chroot/cmac/tmp and /var/chroot/gennum/tmp
Common subdirectories: /var/chroot/cmac/usr and /var/chroot/gennum/usr

The differences are the same for each working and non working jail.

Derek




reply via email to

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