Sincronize /etc/passwd and /etc/yp/passwd.master

Ângelo Rodrigues amr at fccn.pt
Mon Apr 28 08:36:39 PDT 2003


On Monday 28 April 2003 15:16, Eduardo Viruena Silva wrote:
> On Mon, 28 Apr 2003, [iso-8859-1] Ângelo Rodrigues wrote:
> > Hi,
> >
> > I'm trying to find an effective way to sincronize /etc/passwd.master and
> > /etc/yp/passwd.master (at the same time) without having to force all
> > local users to run two commands, passwd and yppasswd.
> > Any ideia?
>
> a)
> a simbolic link:    /var/yp/master.passwd -> /etc/master.passwd
>
> b) change your /var/yp/Makefile to take /etc/master.passwd
> instead of /var/yp/master.passwd

Hmmm...but this will force the same home directory between the server and the
client.

>
> > Regards,
> >
> > Angelo Rodrigues
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> -                         ______                     _
>             *           /   /###\                   / \       __
>  /\  /\             *  /  ./#### \         *     \__|_/      |  |
> /  \/  \               |   b#####|   *            _ |   __   |  |  __
> =    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
> =          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
>  =   \______/           _

-- 

Ângelo Rodrigues - amr at fccn.pt 
FCCN - Fundação para a Computação Científica Nacional
Av. Brasil, 101  1700-066 Lisboa - Portugal
Tel: +351 218440100   Fax: +351 218472167
-----------------------------------------------------



More information about the freebsd-questions mailing list