<?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: Move or migrate user accounts from old Linux server to a new Linux server</title> <atom:link href="http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Montaser Islam</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-65532</link> <dc:creator>Montaser Islam</dc:creator> <pubDate>Mon, 12 Dec 2011 11:59:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-65532</guid> <description>cool post;
it save a lot of time man.</description> <content:encoded><![CDATA[<p>cool post;<br
/> it save a lot of time man.</p> ]]></content:encoded> </item> <item><title>By: Paul</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-65512</link> <dc:creator>Paul</dc:creator> <pubDate>Sun, 11 Dec 2011 20:50:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-65512</guid> <description>It worked perfect from FC 11 to FC 15. Btw, may I add the fact that the host keys must be imported/ecported also. Reason: it is possible to have some users which are using their accounts (SFTP) with the help of an automaitc SFTP client. IN order to keep everything transparent for them, the host keys of the machine must be imported/exported (etc/ssh).
Maybe is better to test it and include it in this tutorial. Btw, the a lot for doing this.
Have a nice weekend.
Paul</description> <content:encoded><![CDATA[<p>It worked perfect from FC 11 to FC 15. Btw, may I add the fact that the host keys must be imported/ecported also. Reason: it is possible to have some users which are using their accounts (SFTP) with the help of an automaitc SFTP client. IN order to keep everything transparent for them, the host keys of the machine must be imported/exported (etc/ssh).<br
/> Maybe is better to test it and include it in this tutorial. Btw, the a lot for doing this.</p><p>Have a nice weekend.</p><p>Paul</p> ]]></content:encoded> </item> <item><title>By: Frank Wang</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-63426</link> <dc:creator>Frank Wang</dc:creator> <pubDate>Wed, 12 Oct 2011 08:43:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-63426</guid> <description>For the /etc/shadow file, better use following to prevent ambiguous match, say a local account named db will also match system account dbus
# awk -v LIMIT=$UGIDLIMIT -F: &#039;($3&gt;=LIMIT) &amp;&amp; ($3!=65534) {print $1}&#039; /etc/passwd &#124; sed -r -e &#039;s/(.*)/^\1:/&#039; &#124; egrep -f - /etc/shadow &gt; /root/move/shadow.mig</description> <content:encoded><![CDATA[<p>For the /etc/shadow file, better use following to prevent ambiguous match, say a local account named db will also match system account dbus<br
/> # awk -v LIMIT=$UGIDLIMIT -F: &#8216;($3&gt;=LIMIT) &amp;&amp; ($3!=65534) {print $1}&#8217; /etc/passwd | sed -r -e &#8216;s/(.*)/^\1:/&#8217; | egrep -f &#8211; /etc/shadow &gt; /root/move/shadow.mig</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-62834</link> <dc:creator>Chris</dc:creator> <pubDate>Mon, 26 Sep 2011 18:07:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-62834</guid> <description>This worked perfect for me migrating users from an old FC3 box to a new Ubuntu 10.04 LTS one. I did run into a problem when I tried to do it a second time. The instructions as they are will result in duplicate entries in the /etc/passwd file. If you want to do this more than once, the *.mig files will need some manual massaging before catting into the destination passwd file. (This may go without saying for most of you, but for me it wasn&#039;t something I thought of ahead of time). I was able to clean it up, but it was a pain.</description> <content:encoded><![CDATA[<p>This worked perfect for me migrating users from an old FC3 box to a new Ubuntu 10.04 LTS one. I did run into a problem when I tried to do it a second time. The instructions as they are will result in duplicate entries in the /etc/passwd file. If you want to do this more than once, the *.mig files will need some manual massaging before catting into the destination passwd file. (This may go without saying for most of you, but for me it wasn&#8217;t something I thought of ahead of time). I was able to clean it up, but it was a pain.</p> ]]></content:encoded> </item> <item><title>By: kaleeswari</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61657</link> <dc:creator>kaleeswari</dc:creator> <pubDate>Thu, 18 Aug 2011 06:59:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61657</guid> <description>how to transfer the files from one root to another root user in same system using ubunto or fedora?</description> <content:encoded><![CDATA[<p>how to transfer the files from one root to another root user in same system using ubunto or fedora?</p> ]]></content:encoded> </item> <item><title>By: kaleeswari</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61655</link> <dc:creator>kaleeswari</dc:creator> <pubDate>Thu, 18 Aug 2011 06:57:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61655</guid> <description>how to create the another root user and how to change the root ?</description> <content:encoded><![CDATA[<p>how to create the another root user and how to change the root ?</p> ]]></content:encoded> </item> <item><title>By: Manojg</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61215</link> <dc:creator>Manojg</dc:creator> <pubDate>Mon, 01 Aug 2011 23:09:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-61215</guid> <description>I created account successfully, can login but login take time and gives error:
/usr/bin/xauth:  timeout in locking authority file /home/testuser/.Xauthority
Any help?</description> <content:encoded><![CDATA[<p>I created account successfully, can login but login take time and gives error:<br
/> /usr/bin/xauth:  timeout in locking authority file /home/testuser/.Xauthority</p><p>Any help?</p> ]]></content:encoded> </item> <item><title>By: Irek</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-59394</link> <dc:creator>Irek</dc:creator> <pubDate>Fri, 13 May 2011 16:16:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-59394</guid> <description>I tried to move account details from SUSE to Fedora/RH and password is not working :(
I</description> <content:encoded><![CDATA[<p>I tried to move account details from SUSE to Fedora/RH and password is not working :(<br
/> I</p> ]]></content:encoded> </item> <item><title>By: Tim</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-51176</link> <dc:creator>Tim</dc:creator> <pubDate>Mon, 29 Nov 2010 03:45:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-51176</guid> <description>In Ubuntu, I had a problem following these instructions. When the screensaver was locked, you couldn’t unlock the screen without going to “Switch User” and then put in the password there. In addition, half of the time your gdm session would immediately crash and you’d have to log in from scratch again.
The problem was that the “shadow” user wasn’t able to read the /etc/shadow and /etc/gshadow files. The /etc/shadow and the /etc/gshadow files need to be chown’d to root:shadow, and chmod’d to 640 like this:
# chown root:shadow /etc/shadow
# chown root:shadow /etc/gshadow
# chmod 640 /etc/shadow /etc/gshadow</description> <content:encoded><![CDATA[<p>In Ubuntu, I had a problem following these instructions. When the screensaver was locked, you couldn’t unlock the screen without going to “Switch User” and then put in the password there. In addition, half of the time your gdm session would immediately crash and you’d have to log in from scratch again.</p><p>The problem was that the “shadow” user wasn’t able to read the /etc/shadow and /etc/gshadow files. The /etc/shadow and the /etc/gshadow files need to be chown’d to root:shadow, and chmod’d to 640 like this:</p><p># chown root:shadow /etc/shadow<br
/> # chown root:shadow /etc/gshadow<br
/> # chmod 640 /etc/shadow /etc/gshadow</p> ]]></content:encoded> </item> <item><title>By: Ryan</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-50110</link> <dc:creator>Ryan</dc:creator> <pubDate>Thu, 14 Oct 2010 20:42:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-50110</guid> <description>Everything worked great. All my users &amp; machines show up in User Manager.
However I cannot logon as a user, only root. It says wrong password.</description> <content:encoded><![CDATA[<p>Everything worked great. All my users &amp; machines show up in User Manager.</p><p>However I cannot logon as a user, only root. It says wrong password.</p> ]]></content:encoded> </item> <item><title>By: Embedded</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-49952</link> <dc:creator>Embedded</dc:creator> <pubDate>Wed, 06 Oct 2010 13:32:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-49952</guid> <description>Thanks for a great guide.
I have small problem with it.
From some reason the tar commands don&#039;t work under Red Hat Linux.
it did not manage to tar or untar the files.
Do you know how to skip existing files?
I tried -k flag but no success ;/</description> <content:encoded><![CDATA[<p>Thanks for a great guide.<br
/> I have small problem with it.</p><p>From some reason the tar commands don&#8217;t work under Red Hat Linux.<br
/> it did not manage to tar or untar the files.</p><p>Do you know how to skip existing files?<br
/> I tried -k flag but no success ;/</p> ]]></content:encoded> </item> <item><title>By: Lukas Johansson</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-48848</link> <dc:creator>Lukas Johansson</dc:creator> <pubDate>Tue, 17 Aug 2010 23:52:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-48848</guid> <description>Thanks for this guide, managed to migrate a large webserver without any major problem thanks to you!</description> <content:encoded><![CDATA[<p>Thanks for this guide, managed to migrate a large webserver without any major problem thanks to you!</p> ]]></content:encoded> </item> <item><title>By: John Wood</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-46690</link> <dc:creator>John Wood</dc:creator> <pubDate>Thu, 01 Apr 2010 15:55:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-46690</guid> <description>no, wait, I wasn&#039;t looking in the current directory - I actually don&#039;t get rid of the &quot;-&quot; file...</description> <content:encoded><![CDATA[<p>no, wait, I wasn&#8217;t looking in the current directory &#8211; I actually don&#8217;t get rid of the &#8220;-&#8221; file&#8230;</p> ]]></content:encoded> </item> <item><title>By: John Wood</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-46689</link> <dc:creator>John Wood</dc:creator> <pubDate>Thu, 01 Apr 2010 15:51:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-46689</guid> <description>I was getting a &quot;-&quot; file created in /root/move when trying to get the shadow.mig, but I&#039;m not now, and I&#039;m not sure what I did!
If anyone does get the &quot;-&quot; file, add some spaces around the &quot;tee&quot; command and try again...  That&#039;s what I did and it went away!</description> <content:encoded><![CDATA[<p>I was getting a &#8220;-&#8221; file created in /root/move when trying to get the shadow.mig, but I&#8217;m not now, and I&#8217;m not sure what I did!</p><p>If anyone does get the &#8220;-&#8221; file, add some spaces around the &#8220;tee&#8221; command and try again&#8230;  That&#8217;s what I did and it went away!</p> ]]></content:encoded> </item> <item><title>By: Andy</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42795</link> <dc:creator>Andy</dc:creator> <pubDate>Wed, 29 Jul 2009 20:00:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42795</guid> <description>If you use Samba shares; remember to grab /etc/samba/smb.conf, /etc/samba/smbusers, and /etc/samba/smbpasswd</description> <content:encoded><![CDATA[<p>If you use Samba shares; remember to grab /etc/samba/smb.conf, /etc/samba/smbusers, and /etc/samba/smbpasswd</p> ]]></content:encoded> </item> <item><title>By: mstone</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42078</link> <dc:creator>mstone</dc:creator> <pubDate>Tue, 16 Jun 2009 17:24:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42078</guid> <description>Also check for aliases because a common multiple recipients solution uses that technique</description> <content:encoded><![CDATA[<p>Also check for aliases because a common multiple recipients solution uses that technique</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42060</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 15 Jun 2009 14:49:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42060</guid> <description>@Juan,
Solaris uses the same files /etc/passwd and friends. So it should work with a little modification.</description> <content:encoded><![CDATA[<p>@Juan,</p><p>Solaris uses the same files /etc/passwd and friends. So it should work with a little modification.</p> ]]></content:encoded> </item> <item><title>By: Juan Carlos</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42059</link> <dc:creator>Juan Carlos</dc:creator> <pubDate>Mon, 15 Jun 2009 14:30:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-42059</guid> <description>there is something similiar for Solaris ?</description> <content:encoded><![CDATA[<p>there is something similiar for Solaris ?</p> ]]></content:encoded> </item> <item><title>By: fidel</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-41320</link> <dc:creator>fidel</dc:creator> <pubDate>Thu, 23 Apr 2009 10:44:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-41320</guid> <description>thanks for this small &amp; easy how-to
Worked like a charme</description> <content:encoded><![CDATA[<p>thanks for this small &amp; easy how-to</p><p>Worked like a charme</p> ]]></content:encoded> </item> <item><title>By: roshan</title><link>http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-41065</link> <dc:creator>roshan</dc:creator> <pubDate>Mon, 06 Apr 2009 10:30:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/#comment-41065</guid> <description>your cp &amp; awk command is so good</description> <content:encoded><![CDATA[<p>your cp &amp; awk command is so good</p> ]]></content:encoded> </item> </channel> </rss>
