Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 16:06:43 +0200
From:      Milan Obuch <small@dino.sk>
To:        freebsd-small@freebsd.org
Subject:   Re: Separate password files on diskless boxes?
Message-ID:  <200510171606.43796.small@dino.sk>
In-Reply-To: <20051017134257.GA74997@bewilderbeast.blackhelicopters.org>
References:  <20051017134257.GA74997@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Monday 17 October 2005 15:42, Michael W. Lucas wrote:
> Hi,
>
> I'm using nanobsd.sh on 6.0RC to provide a small world for diskless
> boxes.  These are for small single-purpose machines -- i.e., DNS
> server, FTP server, etc, served off read-only NFS.  Nothing exciting
> there, it just works.
>
> The last problem I'm having is the password file.  I need to assign
> separate password files to each, and separate root passwords on each
> diskless station.  The problem, of course, is the MFS /etc, so changes
> are not permanent.
>
> Is there any way to make passwd(1) talk to a different password file?
> I really don't want to use read/write mounts on my NFS server.  Or,
> has anyone come up with a clever way to do this?  All the tutorials in
> Google talk about using the server's password file, which I
> specifically don't want to do...
>
> Thanks!
>

You could install separate file when you create MFS filesystem. We solve 
similar issue with script saving changed /etc/master.passwd elsewhere.
This file is read when booting.

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510171606.43796.small>