<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Physical_access</id>
	<title>Physical access - revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Physical_access"/>
	<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Physical_access&amp;action=history"/>
	<updated>2026-07-11T18:14:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://nick-black.com/dankwiki/index.php?title=Physical_access&amp;diff=6885&amp;oldid=prev</id>
		<title>Dank at 09:58, 29 May 2020</title>
		<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Physical_access&amp;diff=6885&amp;oldid=prev"/>
		<updated>2020-05-29T09:58:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:58, 29 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you intend to set a new root password using &amp;lt;tt&amp;gt;passwd&amp;lt;/tt&amp;gt;, it&amp;#039;s recommended to add an &amp;#039;x&amp;#039; back to the &amp;lt;tt&amp;gt;/etc/passwd&amp;lt;/tt&amp;gt;, so that &amp;lt;tt&amp;gt;/etc/shadow&amp;lt;/tt&amp;gt; is used again:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you intend to set a new root password using &amp;lt;tt&amp;gt;passwd&amp;lt;/tt&amp;gt;, it&amp;#039;s recommended to add an &amp;#039;x&amp;#039; back to the &amp;lt;tt&amp;gt;/etc/passwd&amp;lt;/tt&amp;gt;, so that &amp;lt;tt&amp;gt;/etc/shadow&amp;lt;/tt&amp;gt; is used again:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tt&amp;gt;root:x:0:0:root:/root:/bin/bash&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tt&amp;gt;root:x:0:0:root:/root:/bin/bash&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Bypassing login==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:1.41:old-6884:rev-6885:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dank</name></author>
	</entry>
	<entry>
		<id>https://nick-black.com/dankwiki/index.php?title=Physical_access&amp;diff=6884&amp;oldid=prev</id>
		<title>Dank: Created page with &quot;So you&#039;ve got physical access to a UNIX box. How do you get root access?  ==Removing root password== This requires that the filesystem containing &lt;tt&gt;/etc&lt;/tt&gt; is not encrypte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Physical_access&amp;diff=6884&amp;oldid=prev"/>
		<updated>2020-05-29T08:59:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;So you&amp;#039;ve got physical access to a UNIX box. How do you get root access?  ==Removing root password== This requires that the filesystem containing &amp;lt;tt&amp;gt;/etc&amp;lt;/tt&amp;gt; is not encrypte...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;So you&amp;#039;ve got physical access to a UNIX box. How do you get root access?&lt;br /&gt;
&lt;br /&gt;
==Removing root password==&lt;br /&gt;
This requires that the filesystem containing &amp;lt;tt&amp;gt;/etc&amp;lt;/tt&amp;gt; is not encrypted. Remove the disk with the filesystem containing &amp;lt;tt&amp;gt;/etc&amp;lt;/tt&amp;gt;, and mount it on another machine.&lt;br /&gt;
&lt;br /&gt;
* Edit &amp;lt;tt&amp;gt;/etc/passwd&amp;lt;/tt&amp;gt;, and remove the second field for the root entry:&lt;br /&gt;
&amp;lt;tt&amp;gt;root::0:0:root:/root:/bin/bash&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Edit &amp;lt;tt&amp;gt;/etc/shadow&amp;lt;/tt&amp;gt;, and do the same:&lt;br /&gt;
&amp;lt;tt&amp;gt;root::18242:0:99999:7:::&amp;lt;/tt&amp;gt;&lt;br /&gt;
* If you intend to set a new root password using &amp;lt;tt&amp;gt;passwd&amp;lt;/tt&amp;gt;, it&amp;#039;s recommended to add an &amp;#039;x&amp;#039; back to the &amp;lt;tt&amp;gt;/etc/passwd&amp;lt;/tt&amp;gt;, so that &amp;lt;tt&amp;gt;/etc/shadow&amp;lt;/tt&amp;gt; is used again:&lt;br /&gt;
&amp;lt;tt&amp;gt;root:x:0:0:root:/root:/bin/bash&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dank</name></author>
	</entry>
</feed>