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

Re: Shadow over NIS




> 
> Ok my NIS server exported:
> 
> passwd.byname (mangled passwd due to shadow passwd on server)
> passwd.byuid (same as above)
> shadow.byname (mangled password field, if port > 1024)
> 
> Now on my own machine:
> 
> Using the stock /lib/libpwdb.0.54, all users (other than root)
> can not login. So I hack the libpwdb nis/password.c to replace
> passwd.byname password field if it were 1 char long and contains
> 'x' only, with the one from shadow.byname password field.

	I think it should try the shadow.byname patch if
	the field contains *any* single character.

	I often use a '*' rather than an 'x'.

	(Note, I know nothing about NIS).
 
> It worked, but out of all curiosity is there a cleaner solution
> (sort of configurations changes only) I have overlooked?
> 

--
Jim Dennis  (800) 938-4078		consulting@starshine.org
Proprietor, Starshine Technical Services:  http://www.starshine.org



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