Michael Hale wrote:
> /My fellow syadmin here at work was trying to get solaris 10 to talk to our 
> openldap server. He ran ldapclient with a manual config to set up password 
> authentication. Upon reboot, it displayed the hostname and then said:
> 
> ldap nis domain name is
> 
> and then would hang. At that point, it was taken into single user mode and he 
> ran:
> 
> ldapclient uninit
> 
> which wiped out the LDAP configuration, but now upon boot, the machine says:
> 
> Hostname: mbox02
> NIS domain name is
> 
> and just hangs. If we try to boot into single user mode, it asks for the root 
> password - we type it in and then it just hangs. We've waited several minutes 
> now and it just seems to be locked up there. We're just trying to get SMF to 
> not use NIS but we can't find a way to turn the service off so it doesn't 
> load. We can boot from a DVD and mount the rootpool but then we don't know 
> how to make the svcadm command edit the files on the mounted rootpool.
> 
> HELP! :^) /
> 
> We just tried creating /var/svc/profile/upgrade and putting the following 
> commands in there:
> 
> /svcadm disable svc:/network/nis/server:default
> />/svcadm disable svc:/network/nis/passwd:default
> />/svcadm disable svc:/network/nis/update:default
> />/svcadm disable svc:/network/nis/xfr:default
> />/# Item 1.5, NIS client
> />/svcadm disable svc:/network/nis/client:default
> />/# Item 1.6, NIS+
> />/svcadm disable svc:/network/rpc/nisplus:default/
> 
> /
> /
> 
> /but boot still hangs in the same place/

Last time I tested on S10, boot doesn't hang just because the 
nameservice isn't available.  The single-user login certainly wouldn't 
due to that alone.  (The single-user password prompt is given without 
even trying to start name services.)

Is it possible that the root account doesn't appear in /etc/shadow or 
/etc/passwd?

You can "boot -m milestone=none" to take SMF totally out of the picture. 
  All that does is start up sulogin, and no services.

liane

Reply via email to