<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5975&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / superseded by changes to adduser]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5975</link>
		<description><![CDATA[The most recent posts in superseded by changes to adduser.]]></description>
		<lastBuildDate>Sat, 09 Sep 2023 10:30:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: superseded by changes to adduser]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44180#p44180</link>
			<description><![CDATA[<div class="quotebox"><cite>bai4Iej2need wrote:</cite><blockquote><div><p>This thread <br />I do two things on each new install:</p><ul><li><p>1. security </p><div class="codebox"><pre><code> chmod 700 /home/*/ </code></pre></div></li></ul></div></blockquote></div><p>The main problem I can think of is that that command will set the execute bit on all files, even those that aren’t executable.&#160; So, if you have a file called foo, and someday you want to do cat foo or print foo and you accidentally type just foo, the shell will try to execute foo; i.e., interpret it as a shell script.&#160; </p><p>This will probably just explode in your face harmlessly, but if foo contains anything that looks like a shell command, you could get harmful results.</p><p>A lesser issue is that if you have a file that you want to preserve, and last year you did a </p><div class="codebox"><pre><code>chmod 444</code></pre></div><p> to protect it from yourself, </p><div class="codebox"><pre><code>the chmod 700</code></pre></div><p> will restore your write bit, and make it easier for you to clobber the file accidentally.</p><p>The solution to both issues is to do </p><div class="codebox"><pre><code>chmod go= -R ~</code></pre></div><p> or </p><div class="codebox"><pre><code>chmod go-rwx -R ~</code></pre></div><p> which will turn off all bits for group and others, but leave your access alone.</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Sat, 09 Sep 2023 10:30:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44180#p44180</guid>
		</item>
		<item>
			<title><![CDATA[superseded by changes to adduser]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44179#p44179</link>
			<description><![CDATA[<p><strong>Sorry, This contained false information.</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sat, 09 Sep 2023 10:23:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44179#p44179</guid>
		</item>
	</channel>
</rss>
