U have to modify /etc/rc.sysinit 's script :

This is mine ... for me it works ...

###
DOMAIN=`/bin/domainname`

if [ -z "$DOMAIN" -o "$DOMAIN" = "(none)" ]; then
	DOMAIN=toto 	# your domainname
fi

# Set the domainname
action $"Setting domainname ${DOMAIN}: " domainname ${DOMAIN}
###

good luck ....


[EMAIL PROTECTED] wrote:
hi ,


you can set domainname in  file /etc/sysconfig/networks


Like this way and after restart it will become available

If any other problem in NIS config contact me at [EMAIL PROTECTED]



NETWORKING=yes
HOSTNAME=www.yours.org
GATEWAY=202.125.151.65
NISDOMAIN=nis.isb.yours.org

On Fri, 7 Feb 2003 [EMAIL PROTECTED] wrote:


Hey guys,

Started using Psyche a few days back, I'm trying to get it up and running as an NIS server, but for some reason I can't set the domainname (and thus ypserv won't start). I've tried every reasonably imaginable way of setting it (command line, entering it in /etc/sysconfig/networks, grepping through dirs looking for some clue as to where it would be stored), without luck. None of the Redhat autoconfig utils seems to make it stick upon reboot either.

Any ideas?




--
perl -e '$_=pack("c21",74,117,115,116,97,110,111,
	116,104,101,114,80,101,114,108,	72,97,99,
	107,101,114); ($a,$b,$c,$d)=unpack("x15A6
	X10A4X11A7X11A4", $_);foreach$_($a,$b,$c,
	$d){push(@_,($_));}foreach $_(@_){unshift
	(@a, $_);}$_=join(" ",@a); print$_."\n";'

__END__

      ^ ^
    @(õ õ)@
      \ /
      (Y)

mailto : _TUXX_
[EMAIL PROTECTED]
http://www.e-perl.fr.fm



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to