Thursday, October 15, 2009

Accessing Single User mode using SSH

For pre-Solaris 10 servers:

   # route add default `head -1 /etc/defaultrouter`

  Restart ssh

   # /etc/init.d/openssh start

or whatever ssh software is running.


For Solaris 10 servers:

 Execute the below commands:

   # svcadm enable system/vxvm/vxvm-reconfig
   # svcadm enable system/filesystem/local
   # svcadm enable milestone/sysconfig
   # svcadm enable system/utmp

  If the server is under NIS, please execute the below commands also:

    # svcadm enable system/identity:domain
    # svcadm enable system/sysidtool:net
    # svcadm enable network/rpc/bind
    # svcadm enable network/nis/client

  Finally start ssh service:

    # svcadm enable network/ssh

No comments: