<?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, 26 Jan 2012 23:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-7078</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Fri, 06 Jan 2012 09:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-7078</guid>
		<description>Thanks Daenney, I&#039;m under impression that long usernames will still be shown but only for the first 8 chars of a username.</description>
		<content:encoded><![CDATA[<p>Thanks Daenney, I'm under impression that long usernames will still be shown but only for the first 8 chars of a username.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daenney</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-7077</link>
		<dc:creator>Daenney</dc:creator>
		<pubDate>Fri, 06 Jan 2012 09:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-7077</guid>
		<description>This tutorial and a lot of other happen to overlook a very simple fact. If the username is too long, i.e. more than a fixed number of characters it simply won&#039;t be displayed because it would screw up the layout of the output.

ps has this &quot;feature&quot;, so do other Unix utilities.</description>
		<content:encoded><![CDATA[<p>This tutorial and a lot of other happen to overlook a very simple fact. If the username is too long, i.e. more than a fixed number of characters it simply won't be displayed because it would screw up the layout of the output.</p>
<p>ps has this "feature", so do other Unix utilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rtprsd</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-6971</link>
		<dc:creator>Rtprsd</dc:creator>
		<pubDate>Tue, 22 Feb 2011 18:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-6971</guid>
		<description>How can we delete such files ... The file&#039;s whose user are iwth numeric indices. I am not able to delete them.</description>
		<content:encoded><![CDATA[<p>How can we delete such files &#8230; The file's whose user are iwth numeric indices. I am not able to delete them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe42</title>
		<link>http://www.unixtutorial.org/2009/01/what-to-do-if-numeric-id-is-shown-instead-of-unix-username/comment-page-1/#comment-6925</link>
		<dc:creator>Joe42</dc:creator>
		<pubDate>Wed, 15 Dec 2010 22:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=336#comment-6925</guid>
		<description>@Rosh, that&#039;s why you specify &quot;-u 1006&quot; when you recreate the account.  It specifies the UID explicitly, giving the new account the same value that the old one had.</description>
		<content:encoded><![CDATA[<p>@Rosh, that's why you specify "-u 1006" when you recreate the account.  It specifies the UID explicitly, giving the new account the same value that the old one had.</p>
]]></content:encoded>
	</item>
	<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". And then the new "james" would get "502". 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>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/16 queries in 0.006 seconds using disk: basic
Object Caching 349/365 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: unixtutorial.s3.amazonaws.com

Served from: www.unixtutorial.org @ 2012-02-08 01:30:10 -->
