<?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>Jordan Hall &#187; home directories</title>
	<atom:link href="http://jordanhall.co.uk/tag/home-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://jordanhall.co.uk</link>
	<description>Jordan Hall - programmer and geek</description>
	<lastBuildDate>Mon, 21 Jun 2010 12:31:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>/home/ &#8211; Ubuntu Home Directories are world readable by default</title>
		<link>http://jordanhall.co.uk/ubuntu-linux/home-ubuntu-home-directories-are-world-readable-by-default-3312144/</link>
		<comments>http://jordanhall.co.uk/ubuntu-linux/home-ubuntu-home-directories-are-world-readable-by-default-3312144/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 22:15:33 +0000</pubDate>
		<dc:creator>Jordan Hall</dc:creator>
				<category><![CDATA[Ubuntu & Linux]]></category>
		<category><![CDATA[home directories]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[world readable]]></category>

		<guid isPermaLink="false">http://jordanhall.co.uk-c74d97b01eae257e44aa9d5bade97baf</guid>
		<description><![CDATA[I recently discovered Ubuntu has home directory permissions default to world readable. In other words, any unprivileged user, including guests users, are able to access and read the home directory data for any other user. For those who store sensitive information on a multi-user computer, this can be a significant security problem or at least [...]

<br/>
<strong>If you liked this post, you may be interested in these:</strong><ol><li><a href='http://jordanhall.co.uk/ubuntu-linux/firefox-how-to-easily-install-mozilla-firefox-3-5-on-ubuntu-9-04-3312140/' rel='bookmark' title='Permanent Link: Firefox &#8211; How to easily install Mozilla Firefox 3.5 on Ubuntu 9.04'>Firefox &#8211; How to easily install Mozilla Firefox 3.5 on Ubuntu 9.04</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/ubuntu-100-paper-cuts-usability-initiative-3312142/' rel='bookmark' title='Permanent Link: Ubuntu 100 Paper Cuts Usability Initiative &#8211; Professional focus on one hundred usability issues within the Ubuntu operating system'>Ubuntu 100 Paper Cuts Usability Initiative &#8211; Professional focus on one hundred usability issues within the Ubuntu operating system</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/spotify-how-to-get-spotify-links-to-work-in-linux-3312124/' rel='bookmark' title='Permanent Link: Spotify &#8211; How to get Spotify links to work in Linux'>Spotify &#8211; How to get Spotify links to work in Linux</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/notify-osd-changes-to-ubuntu-9-04-notifications-3312145/' rel='bookmark' title='Permanent Link: notify-osd &#8211; Changes to Ubuntu 9.04 notifications'>notify-osd &#8211; Changes to Ubuntu 9.04 notifications</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/ubuntu-9-10-release-0510362/' rel='bookmark' title='Permanent Link: Ubuntu 9.10 Release'>Ubuntu 9.10 Release</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I recently discovered Ubuntu has home directory permissions default to world readable. In other words, any unprivileged user, including guests users, are able to access and read the home directory data for any other user. For those who store sensitive information on a multi-user computer, this can be a significant security problem or at least a privacy issue. This default resembles the configuration of a Windows XP or Vista system when the option to make files private is not selected during user creation.</p>
<p>If you feel the default set-up of world readable home directories is not to your liking you can deny other users access to your home directory with one command, as follows:</p>
<blockquote><p>sudo chmod -R 750 /home/*</p>
</blockquote>
<p>This command, when entered, will give other users no access permissions. When browsing via Nautilus or a command prompt, other users attempting to access your home directory will receive an &#8216;access denied&#8217; error message. This will stop read access, write access and even file listing of your home directory from other users. It should be warned that this restricted configuration could potentially cause issues with programs that attempt to access configuration files in your user directory in an unusual manner (such as when being ran in the name of another user on the system). However, from personal experience I have not encountered any related problems.</p>
<p>If you wish to make this configuration the default for all newly created users, you must reconfigure the &#8216;adduser&#8217; software package. This can be done very simply by running the following command and selecting &#8216;No&#8217; when asked whether or not your want world/system readable home directories.</p>
<blockquote><p>sudo dpkg-reconfigure adduser</p>
</blockquote>
<p>It is my opinion that home directories should be set with these permissions and the adduser package should be configured in this manner by default. Researching this as an issue, I have discovered many others also feel this way. For example, see <a title="Ubuntu Brainstorm Idea #6106" href="http://brainstorm.ubuntu.com/idea/6106/">Ubuntu Brainstorm idea #6106</a> and note the debate in the comments between default configuration versus user choice. Although user choice is always important, surely a more secure/privacy-protecting default which can be changed if required, is the more desirable option?</p>
<p>What do you think? Also, has anyone ever encountered any problems with a non-world readable home directory configuration?</p>


<br/><p><strong>If you liked this post, you may be interested in these:</strong></p><ol><li><a href='http://jordanhall.co.uk/ubuntu-linux/firefox-how-to-easily-install-mozilla-firefox-3-5-on-ubuntu-9-04-3312140/' rel='bookmark' title='Permanent Link: Firefox &#8211; How to easily install Mozilla Firefox 3.5 on Ubuntu 9.04'>Firefox &#8211; How to easily install Mozilla Firefox 3.5 on Ubuntu 9.04</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/ubuntu-100-paper-cuts-usability-initiative-3312142/' rel='bookmark' title='Permanent Link: Ubuntu 100 Paper Cuts Usability Initiative &#8211; Professional focus on one hundred usability issues within the Ubuntu operating system'>Ubuntu 100 Paper Cuts Usability Initiative &#8211; Professional focus on one hundred usability issues within the Ubuntu operating system</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/spotify-how-to-get-spotify-links-to-work-in-linux-3312124/' rel='bookmark' title='Permanent Link: Spotify &#8211; How to get Spotify links to work in Linux'>Spotify &#8211; How to get Spotify links to work in Linux</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/notify-osd-changes-to-ubuntu-9-04-notifications-3312145/' rel='bookmark' title='Permanent Link: notify-osd &#8211; Changes to Ubuntu 9.04 notifications'>notify-osd &#8211; Changes to Ubuntu 9.04 notifications</a></li>
<li><a href='http://jordanhall.co.uk/ubuntu-linux/ubuntu-9-10-release-0510362/' rel='bookmark' title='Permanent Link: Ubuntu 9.10 Release'>Ubuntu 9.10 Release</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jordanhall.co.uk/ubuntu-linux/home-ubuntu-home-directories-are-world-readable-by-default-3312144/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
