0 Replies Latest reply: Feb 7, 2014 5:38 PM by d60d7ec1-e814-4a23-b5ee-5b4d7152cbf5 RSS

how can i login solaris 10 as root automatically after every restart?

d60d7ec1-e814-4a23-b5ee-5b4d7152cbf5 Newbie
Currently Being Moderated

i added a shellscript  in rc3.d,

///////////////////autologin script//////////////////////////

#!/bin/sh

su - root -c "PATH=/usr/openwin/bin:$PATH;export PATH;xinit /usr/dt/config/Xsession.jds /usr/X11/bin/Xorg "

/////////////////////////end////////////////////////////////////

 

this script can help me to login as root automatically,but it's not stable.many times i can not run terminal.

h~e~l~p...

thank everybody see this question´╝ü

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points