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

Dan Nelson dnelson at allantgroup.com
Mon Apr 28 08:09:45 PDT 2003


In the last episode (Apr 28), Antoine Jacoutot said:
> > 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.
> 
> Me too !
> 
> > Any ideia?
> 
> No, but let me know if you find one...

My solution is to never put a user in both /etc and /var/yp.  Userids
that are created by ports go into /etc, and all "real" users go into
/var/yp.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list