<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8644619372090136783</id><updated>2012-02-16T08:06:37.338-06:00</updated><title type='text'>Jason Rogers</title><subtitle type='html'>Random post of projects, scripts, tutorials, tips, also my thoughts and ideas to help me keep them organized. I hope you find them useful and educational. Pass them on tweak them and make them better. I love to see how things I have created or have passed on from someone else is helping you. So, please let me know what you are working on and I will create a a page showing off your work.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jason-rogers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8644619372090136783/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jason-rogers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jason</name><uri>http://www.blogger.com/profile/00344915897034448747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8644619372090136783.post-8945178869931174449</id><published>2011-06-01T11:28:00.002-05:00</published><updated>2011-06-14T11:37:51.555-05:00</updated><title type='text'>Migrating users to new Xserve</title><content type='html'>School is now over and student laptops are&amp;nbsp;re-imaged. Now just have to migrate teacher and staff accounts over a new server.&amp;nbsp;Here is a bit of background info: We have Mac Xserves and Clients. All students grades 7-12 have laptops, white MacBooks, that they can take home and use during the school year. Teachers also have white MacBooks that they keep year round.&amp;nbsp;All students and staff have mobile accounts on their laptops that sync to our servers when they are here at the school. Now I am to the point where I am migrating all Teachers and staff over to new server. Here is how I have done this so I do not have to move any files from one server to another. Then have to go around to all the laptops and delete old accounts and hope that when the login to their new account all their stuff is there and nothing is missing. Most everything is done in terminal. I am switching from a server named bengal over to server named malayan. I will use these name in my example you will want to replace these name with name&amp;nbsp;schema&amp;nbsp;within your network&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="p1" style="font: normal normal normal 12px/normal Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;These commands need to be ran as root. &amp;nbsp;Enable root using Directory Utility. &amp;nbsp;Then either log in as root or an administrator. &amp;nbsp;If logged in as an administrator type su in the terminal to switch to root access. My old short user name was 00rogeja and my new short user name is 00jasonrogers&lt;/div&gt;&lt;div class="p2" style="font: normal normal normal 12px/normal Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="p2" style="font: normal normal normal 12px/normal Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-height: 14px;"&gt;Note: replace what is in quotes with your own information and do not use the quotation marks. The scripts will not work if they are used. Also after each line of commands press the return button before going on the the next line.&lt;/div&gt;&lt;div class="p1" style="font: normal normal normal 12px/normal Helvetica; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;##################################################&lt;br /&gt;&lt;br /&gt;# Copy the user's current home directory and rename it to the shortname of their new home directory on your new server. &lt;br /&gt;&lt;br /&gt;Commands:&lt;br /&gt;&lt;br /&gt;cd /Users&lt;br /&gt;&lt;br /&gt;ditto -V "00rogeja" "00jasonrogers"&lt;br /&gt;&lt;br /&gt;##################################################&lt;br /&gt;&lt;br /&gt;# Remove the user's plist file from /var/db/dslocal/nodes/Default/users/&lt;br /&gt;&lt;br /&gt;cd /var/db/dslocal/nodes/Default/users&lt;br /&gt;&lt;br /&gt;rm "00rogeja.plist"&lt;br /&gt;&lt;br /&gt;##################################################&lt;br /&gt;&lt;br /&gt;#Bind computer to new server&lt;br /&gt;&lt;br /&gt;In 10.6 go to   &amp;amp;gt;  System Preferences &amp;amp;gt; Accounts &amp;amp;gt; Login Options &amp;amp;gt; Join&lt;br /&gt;&lt;br /&gt;In 10.5 go to Applications &amp;amp;gt; Utilities &amp;amp;gt; Directory Utility &lt;br /&gt;&lt;br /&gt;##################################################&lt;br /&gt;&lt;br /&gt;# Change permissions for newly created home directory. &lt;br /&gt;&lt;br /&gt;cd /Users&lt;br /&gt;&lt;br /&gt;chown -R "00jasonrogers" "00jasonrogers"&lt;br /&gt;&lt;br /&gt;##################################################&lt;br /&gt;&lt;br /&gt;# Restart Computer&lt;br /&gt;&lt;br /&gt;shutdown -r now&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8644619372090136783-8945178869931174449?l=jason-rogers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jason-rogers.blogspot.com/feeds/8945178869931174449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8644619372090136783&amp;postID=8945178869931174449&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8644619372090136783/posts/default/8945178869931174449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8644619372090136783/posts/default/8945178869931174449'/><link rel='alternate' type='text/html' href='http://jason-rogers.blogspot.com/2011/06/migrating-users-to-new-server.html' title='Migrating users to new Xserve'/><author><name>Jason</name><uri>http://www.blogger.com/profile/00344915897034448747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8644619372090136783.post-690382285687672622</id><published>2011-06-01T10:14:00.000-05:00</published><updated>2011-06-01T10:14:20.149-05:00</updated><title type='text'>It been awhile but I am back</title><content type='html'>Well it has been a long while since I have done anything with this so I thought I would&amp;nbsp;resurrect my old blog and hopefully in is helpful and educational. Knowledge/Information is a gift to be give to others. Having knowledge and choosing not to share it is like having a surplus of food but not sharing it with those around you who are starving.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8644619372090136783-690382285687672622?l=jason-rogers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jason-rogers.blogspot.com/feeds/690382285687672622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8644619372090136783&amp;postID=690382285687672622&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8644619372090136783/posts/default/690382285687672622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8644619372090136783/posts/default/690382285687672622'/><link rel='alternate' type='text/html' href='http://jason-rogers.blogspot.com/2011/06/it-been-awhile-but-i-am-back.html' title='It been awhile but I am back'/><author><name>Jason</name><uri>http://www.blogger.com/profile/00344915897034448747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
