The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-27-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,960
If you can edit the shadow file(/a/etc/shadow for solaris, apparently) by hand, you can delete root's password completely, letting you login as root without a password. Back it up of course. See details here.

And if you logged into sys with su, wouldn't you still be logged in as root once you exit from su?