<?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: What to do if numeric id is shown instead of Unix username</title>
	<atom:link href="http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/</link>
	<description>Learn UNIX</description>
	<lastBuildDate>Thu, 21 Jan 2010 02:07:52 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rosh</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-5536</link>
		<dc:creator>Rosh</dc:creator>
		<pubDate>Tue, 14 Jul 2009 16:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-5536</guid>
		<description>Good intro


As you can see, sometimes you might get lucky – the directory is there, and since most home directories usually have the same name as the username which owns them, you can deduct that the username of the user id 1006 was &quot;mike&quot;. You can now recreate Mike&#039;s account and it will be immediately reflected for all the files owned by user id 1006


The above statement is &quot;partly&quot; true. I say &quot;partly&quot; because if you create a user and then delete the user  without creating another user, and then re-add the user, the above statement holds true.

But if you create a user say &quot;james&quot;, create a user &quot;john&quot;, delete user &quot;james&quot; and then re-add &quot;james&quot;, the files/directories in &quot;/home/james&quot; will not reflect the new user &quot;james&quot;. This is because the OS increments the id for each user added (except if the OS sees that the user being added was the last user added). Therefore if the original &quot;james&quot; had an id of 500, john would get &quot;501&quot;. And then the new &quot;james&quot; would get &quot;502&quot;. If you think that the new user &quot;james&quot; is the same as the old user &quot;james&quot; then you could change ownership of all files/directories under /home/james to the new user &quot;james&quot;.</description>
		<content:encoded><![CDATA[<p>Good intro</p>
<p>As you can see, sometimes you might get lucky – the directory is there, and since most home directories usually have the same name as the username which owns them, you can deduct that the username of the user id 1006 was "mike". You can now recreate Mike's account and it will be immediately reflected for all the files owned by user id 1006</p>
<p>The above statement is "partly" true. I say "partly" because if you create a user and then delete the user  without creating another user, and then re-add the user, the above statement holds true.</p>
<p>But if you create a user say "james", create a user "john", delete user "james" and then re-add "james", the files/directories in "/home/james" will not reflect the new user "james". This is because the OS increments the id for each user added (except if the OS sees that the user being added was the last user added). Therefore if the original "james" had an id of 500, john would get "501&#8243;. And then the new "james" would get "502&#8243;. If you think that the new user "james" is the same as the old user "james" then you could change ownership of all files/directories under /home/james to the new user "james".</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Check if Any Users Were Added or Deleted on Your Linux System &#124; UNIX Tutorial: Learn UNIX</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-1711</link>
		<dc:creator>How To Check if Any Users Were Added or Deleted on Your Linux System &#124; UNIX Tutorial: Learn UNIX</dc:creator>
		<pubDate>Thu, 08 Jan 2009 00:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-1711</guid>
		<description>[...] &#8592; What to do if numeric id is shown instead of Unix username [...]</description>
		<content:encoded><![CDATA[<p>[...] &larr; What to do if numeric id is shown instead of Unix username [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
