Re: adduser whith nis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Taylor, ForrestX wrote:

On Fri, 2004-08-20 at 09:50, benjlijel CHAKIB wrote:


hello (again)
i have pdc nis .how i can add a new user whithout
execute the Makefile in /var/yp



Edit whatever PASSWD points to in the Makefile and then run make. Is there some reason that you do not want to run make?

Forrest




probably because he mentioned "PDC". This way , samba runs adduser only when adding a user remotely using the GUI tools available for windows. Then he ends in a inconsistent state , where the user exists , but the rest of the world doesnt know it untill he runs make by himself...
One solution is making a wrapper script that calls adduser and make. Then configure samba to use it instead of using adduser directly... It's a good idea to do this to the other tools also , so you dont need to run make everytime you change some user configurations.


--
Pedro Macedo



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux