Re: chroot with NIS

2006-08-10 Thread Mark Brown
On Thu, Aug 10, 2006 at 11:35:52AM +0200, Bernd Schubert wrote:

> for us it was just sufficient to bind mount /var/yp into the chroot
> environment.

This should be the only unusual thing that is required.  The ypbind
daemon maintians state in this directory which tells applications that
need to get information from the NIS server where to look.  Everything
else works over the network.

>  Of course, you need to adjust the
> chroots /etc/passwd, /etc/group and /etc/nssswitch.conf.

You shouldn't need to update nsswitch.conf for normal password access.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: chroot with NIS

2006-08-10 Thread Bernd Schubert
Hi Seb,

> I have never set up or used a chroot environment, but am forced to set one
> up in a new AMD64 system, to be able to run some 32 bit apps such as
> openoffice.org.  I would like to install an easily "reversible" chroot
> environment; i.e. one that can be removed very easily.  I have read some
> suggestions that setting up a chroot environment with NIS working as a
> client, and the 64 bit system as a server may be the cleanest way to do
> this.  I have installed NIS, and read its documentation, but being
> completely inexperienced with it, can't make much sense of it.  It would
> really help if I could see some configuration files (/etc/ypserv.conf,
> /etc/ypserv.securenets, /etc/default/nis, /etc/yp.conf).  I would
> appreciate it if somebody can share these config files, whether in the
> context of setting up a chroot or not.  Comments on alternatives or
> critiques would also be very welcome.  Thanks in advance.

for us it was just sufficient to bind mount /var/yp into the chroot
environment. Of course, you need to adjust the
chroots /etc/passwd, /etc/group and /etc/nssswitch.conf.

Cheers,
Bernd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



chroot with NIS

2006-08-08 Thread Seb
Hi,

I have never set up or used a chroot environment, but am forced to set one
up in a new AMD64 system, to be able to run some 32 bit apps such as
openoffice.org.  I would like to install an easily "reversible" chroot
environment; i.e. one that can be removed very easily.  I have read some
suggestions that setting up a chroot environment with NIS working as a
client, and the 64 bit system as a server may be the cleanest way to do
this.  I have installed NIS, and read its documentation, but being
completely inexperienced with it, can't make much sense of it.  It would
really help if I could see some configuration files (/etc/ypserv.conf,
/etc/ypserv.securenets, /etc/default/nis, /etc/yp.conf).  I would
appreciate it if somebody can share these config files, whether in the
context of setting up a chroot or not.  Comments on alternatives or
critiques would also be very welcome.  Thanks in advance.


Cheers,

-- 
Seb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]