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

Eduardo Viruena Silva mrspock at esfm.ipn.mx
Mon Apr 28 08:17:26 PDT 2003


On Mon, 28 Apr 2003, [iso-8859-1] =C2ngelo 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 loca=
l
> 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

>
> 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.o=
rg"
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=3D    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=3D          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =3D   \______/           _
  | |


More information about the freebsd-questions mailing list