Physical access: Difference between revisions

Created page with "So you've got physical access to a UNIX box. How do you get root access? ==Removing root password== This requires that the filesystem containing <tt>/etc</tt> is not encrypte..."
 
No edit summary
 
Line 10: Line 10:
* If you intend to set a new root password using <tt>passwd</tt>, it's recommended to add an 'x' back to the <tt>/etc/passwd</tt>, so that <tt>/etc/shadow</tt> is used again:
* If you intend to set a new root password using <tt>passwd</tt>, it's recommended to add an 'x' back to the <tt>/etc/passwd</tt>, so that <tt>/etc/shadow</tt> is used again:
<tt>root:x:0:0:root:/root:/bin/bash</tt>
<tt>root:x:0:0:root:/root:/bin/bash</tt>
==Bypassing login==