[Pkg-shadow-devel] Bug#531955: Bug#531955: useradd creates local-only users on nis server

Nicolas François nicolas.francois at centraliens.net
Fri Jun 5 22:02:55 UTC 2009


tags 531955 help
thanks

Hello,

On Fri, Jun 05, 2009 at 10:54:47AM +0200, harald.dunkel at aixigo.de wrote:
> 
> The new user "john" is added _before_ the first NIS compat entry,
> instead of being appended to passwd. /var/yp/Makefile ignores
> anything before the compat entries, i.e. John got a local account
> on our NIS server only. This is not useful.

I don't have any clue about NIS.
I'm CC'ing the NIS maintainers as I'm not even able to find out if useradd
does not behave correctly or if the tool is not used correctly.


Did it used to work previously (with which version)?
Does adduser behave correctly regarding NIS?
Is it legitimate in some cases to add an user locally, and not to NIS. How
useradd should know about the intent of the caller?

How useradd should behave?
Should an option be added to useradd?

Best Regards,
-- 
Nekral





More information about the Pkg-shadow-devel mailing list