adduser whith nis
Pedro Fernandes Macedo
webmaster at margo.bijoux.nom.br
Fri Aug 20 17:54:59 UTC 2004
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
More information about the fedora-list
mailing list