<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nenad Vijatov &#187; Single user mode</title>
	<atom:link href="http://blog.vijatov.com/tag/single-user-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vijatov.com</link>
	<description>In a few words.</description>
	<lastBuildDate>Thu, 05 Aug 2010 23:14:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Password protect single user mode</title>
		<link>http://blog.vijatov.com/2008/02/25/9/</link>
		<comments>http://blog.vijatov.com/2008/02/25/9/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:59:00 +0000</pubDate>
		<dc:creator>Nenad Vijatov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Single user mode]]></category>

		<guid isPermaLink="false">http://vijatov.com/blog/?p=9</guid>
		<description><![CDATA[You forget your root password and get locked out of your own box. What do you do? Typically, you would reboot into single user mode and change the password there. When booting into single user mode you will not be prompted for the root password. This is something every attacker knows and prays on once [...]]]></description>
			<content:encoded><![CDATA[<p>You forget your root password and get locked out of your own box. What do you do? Typically, you would reboot into single user mode and change the password there.</p>
<p>When booting into single user mode you will not be prompted for the root password. This is something every attacker knows and prays on once he has gained physical access to you box. So what do you do?<br />
Firstly, a good sys admin knows not to forget the root password. Login in as root is never a good idea so using sudo is always advised.<br />
This still leaves the single user mode vulnerable, to secure it you will have to append the following line “su:S:wait:/sbin/sulogin” to your “/etc/inittab” file.<br />
Now, every time you boot into single user mode you will be prompted for the root password.</p>
<p># password protect single user mode<br />
su:S:wait:/sbin/sulogin</p>
<p>PS: Always remember you password, if you can’t then write in down in a safe place.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vijatov.com/2008/02/25/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

