Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in
tags.
/usr/sbin/ypinit -m
In order for NIS to operate sucessfully, we have to construct a list of the
NIS servers. Please continue to add the names for YP servers in order of
preference, one per line. When you are done with the list, type a <control D>
or a return on a line by itself.
next host to add: idm187-05
next host to add: ^D
The current list of yp servers looks like this:
idm187-05
Is this correct? [y/n: y] y
Installing the YP database will require that you answer a few questions.
Questions will all be asked at the beginning of the procedure.
Do you want this procedure to quit on non-fatal errors? [y/n: n] y
The yp domain directory is /var/yp/connectortest.oracle.com
Can we destroy the existing /var/yp/connectortest.oracle.com and its contents? [y/n: n] y
There will be no further questions. The remainder of the procedure should take
5 to 10 minutes.
Building /var/yp/connectortest.oracle.com/ypservers...
Running /var/yp /Makefile...
updated passwd
updated group
updated hosts
updated ipnodes
updated ethers
updated networks
updated rpc
updated services
updated protocols
updated netgroup
updated bootparams
/etc/mail/sendmail.cf: WARNING: dangerous write permissions
/etc/mail/sendmail.cf: line 80: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
/etc/mail/sendmail.cf: line 561: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
WARNING: local host name (idm187-05) is not qualified; see cf/README: WHO AM I?
*** Error code 71
The following command caused the error:
/usr/lib/sendmail -bi -oA/var/yp/`domainname`/mail.aliases;
updated publickey
updated netid
/usr/sbin/makedbm /etc/netmasks /var/yp/`domainname`/netmasks.byaddr;
updated netmasks
updated passwd.adjunct
updated timezone
updated auto.master
updated auto.home
updated ageing
updated auth_attr
updated exec_attr
updated prof_attr
updated user_attr
updated audit_user
make: Warning: Target `all' not remade because of errors
Current working directory /var/yp
*** Error code 1
The following command caused the error:
if [ ! 1 ]; then make -k all; \
else make -k all NOPUSH=1;fi
make: Fatal error: Command failed for target `k'
Error running Makefile.
Please let me know what could be the issue.