<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Script for disabling users (follow up for creating user)</title>
	<atom:link href="http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/</link>
	<description>In the world of linux your boundaries are free</description>
	<lastBuildDate>Sat, 19 May 2012 09:09:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: WorkatHomeJobs</title>
		<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/comment-page-1/#comment-8748</link>
		<dc:creator>WorkatHomeJobs</dc:creator>
		<pubDate>Mon, 31 Aug 2009 13:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.benkevan.com/blog/?p=217#comment-8748</guid>
		<description>There are a lot that we do not know, could you tell us more?</description>
		<content:encoded><![CDATA[<p>There are a lot that we do not know, could you tell us more?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben.kevan</title>
		<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/comment-page-1/#comment-7433</link>
		<dc:creator>ben.kevan</dc:creator>
		<pubDate>Fri, 31 Oct 2008 15:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.benkevan.com/blog/?p=217#comment-7433</guid>
		<description>Hi Thomas, 

Great suggestions. Since you must be root while running this script I guess I am relying on the sysadmins (currently only me, but this is being built with expansion of our environment in mind) to use them correctly. the /tmp/passwd.tmp is written as root, thus a regular local user cannot modify it in the process (i&#039;ll verify that). 

I will also try to inject some commands in USER_TO_DIS to see if I should disallow some characters.. probably just ` .. thanks for the suggestions.. that&#039;s exactly the type of feedback I was looking for.</description>
		<content:encoded><![CDATA[<p>Hi Thomas, </p>
<p>Great suggestions. Since you must be root while running this script I guess I am relying on the sysadmins (currently only me, but this is being built with expansion of our environment in mind) to use them correctly. the /tmp/passwd.tmp is written as root, thus a regular local user cannot modify it in the process (i&#8217;ll verify that). </p>
<p>I will also try to inject some commands in USER_TO_DIS to see if I should disallow some characters.. probably just ` .. thanks for the suggestions.. that&#8217;s exactly the type of feedback I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/comment-page-1/#comment-7432</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 31 Oct 2008 14:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.benkevan.com/blog/?p=217#comment-7432</guid>
		<description>hi,
USER_TO_DIS can contain shell meta-chars which leads to execution of commands embedded in the user&#039;s name... unlikely. but what about local user owning/modifying /tmp/etc/passwd.tmp to add their own root account?

bye
thomas</description>
		<content:encoded><![CDATA[<p>hi,<br />
USER_TO_DIS can contain shell meta-chars which leads to execution of commands embedded in the user&#8217;s name&#8230; unlikely. but what about local user owning/modifying /tmp/etc/passwd.tmp to add their own root account?</p>
<p>bye<br />
thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben.kevan</title>
		<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/comment-page-1/#comment-7431</link>
		<dc:creator>ben.kevan</dc:creator>
		<pubDate>Fri, 31 Oct 2008 13:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.benkevan.com/blog/?p=217#comment-7431</guid>
		<description>Sorry about that. I used the wrong title.. This is actually used to disable a user by adding X in front of the name. I disable the user for a quarter, and every quarter I run a script that then deletes a user that is connected out (with the X). This allows me to enable an account if a user did not leave. Again, reporting for an enterprise environment for controls for SOX. 

I&#039;ll modify the tittle since it should be &quot;disable user&quot; thanks</description>
		<content:encoded><![CDATA[<p>Sorry about that. I used the wrong title.. This is actually used to disable a user by adding X in front of the name. I disable the user for a quarter, and every quarter I run a script that then deletes a user that is connected out (with the X). This allows me to enable an account if a user did not leave. Again, reporting for an enterprise environment for controls for SOX. </p>
<p>I&#8217;ll modify the tittle since it should be &#8220;disable user&#8221; thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Meissner</title>
		<link>http://www.freetechie.com/blog/script-for-deleting-users-follow-up-for-creating-user/comment-page-1/#comment-7428</link>
		<dc:creator>Marcus Meissner</dc:creator>
		<pubDate>Fri, 31 Oct 2008 07:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.benkevan.com/blog/?p=217#comment-7428</guid>
		<description>What about just using

userdel -r username

?</description>
		<content:encoded><![CDATA[<p>What about just using</p>
<p>userdel -r username</p>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

