Bug in /usr/lib/netsvc/yp/ypstart

From: Pavic, Aleksander (Aleksander.Pavic@t-systems.com)
Date: Thu Jan 18 2007 - 07:12:08 EST


Hello List,
I noticed that our NIS System doesn't allow a user to change his own
password.
Google showes me a Summary from this list that says that rpc.yppasswdd
is needed for that.
After some reading I noticed one line in /usr/lib/netsvc/yp/ypstart:

--
if [ "$master" = "$hostname" -a X$YP_SERVER = "XTRUE" ]; then
--
You have to know that the `hostname` of this machine contains only
capital characters.
The line above make sure that yppasswdd, ypxfrd and ypupdatedd will
never start on machines
with only capital characters in their hostname, since $hostname is
translated to a lowercase
string and $master is not.
I know that I can fix this very easy with one additional line, but a few
years ago sun tells
us that we will lose support for that system if we change anything
within the sun startup scripts.
So what should I do now? Is there anyone who knows how to handle that
Problem without changing
the hostname and without loosing support? Maybe Casper?
Regards,
Aleks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:28 EDT