Changing the name of home folder

When I set up my machine, I set up the name of my home folder without knowing some of the ramifications of using it. I reviewed the steps in http://www.macworld.com/article/132693/2008/03/changeshortusername.html which seemed reasonably straight forward.
I created another user called limited, and logged out of my administrators account, and into the newly created "limited" account.
All of the steps, up to step 10, went smoothly - modified the short name, and Home directory to the desired new name.
Step 10 required changing the folder name using the following sudo command syntax:
sudo mv /Users/oldusername /Users/newusername
I received the following error after I entered the password:
"limited is not in the sudoers file."
The only thing I could think of was that the account I created, "limited", was not set up with admin rights - so I went in and selected the "Allow user to administer this computer" checkbox for this account. However, a warning saying the change won't take affect until I logout and back in. I'm reluctant to do this, in case something happens where the Mac requires shutting down before all steps have been completed. I'm thinking of changing the short name and home directory settings (in the Account Preferences) back so they agree with the home folder name, and then redo the process once I know the "sudo" command will work. *Does this seem like a reasonable precaution?* I want to avoid having half the job done in case something happens and the Mac has to be restarted.
At this point, I don't know if my assumption is correct about the failure to execute the sudo command. Will adding the Admin rights to the account "limited" insert "limited" into the sudoers file? If not, what do I need to do to resolve that problem.
I've included the steps below:
============================================
1. If Automatic Login is enabled (in Accounts preferences) for the account you’re modifying, disable it. Similarly, if File Vault is enabled (in Security preferences), disable it. You can re-enable these features, if desired, after completing the procedure.
2. Log in as a different user than the one you want to modify; make sure the account you want to modify is not logged in.
3. Open the Accounts pane of System Preferences.
4. If the lock icon in the lower-left of the Accounts window is “locked,” click on it and provide an administrative username and password; this allows you to make changes.
5. In the list of accounts on the left, right-click (or Control-click) on the name of the account you want to modify; choose Advanced Options from the resulting menu.
6. In the Advanced Options screen, delete your current short username in the Short Name field, and then type in your desired new short username.
7. In the Home Directory field, change /Users/oldusername to /Users/newusername, where oldusername is your original short username and newusername is your new short username. Make note of the original and new paths.
8. Click on OK and close System Preferences.
9. Open Terminal (in /Applications/Utilities).
10. Type the following command, all on one line, and then press Return; when prompted, provide the password of the admin account you’re currently using, and then press Return again:
sudo mv /Users/oldusername /Users/newusername
(These are the original and new Home Directory paths from Step 7; oldusername is your original short username and newusername is your new short username.) This step renames your home folder in the Finder.
11. Restart your Mac.

NibblesNBits wrote:
When I set up my machine, I set up the name of my home folder without knowing some of the ramifications of using it. I reviewed the steps in http://www.macworld.com/article/132693/2008/03/changeshortusername.html which seemed reasonably straight forward.
I created another user called limited, and logged out of my administrators account, and into the newly created "limited" account.
All of the steps, up to step 10, went smoothly - modified the short name, and Home directory to the desired new name.
Step 10 required changing the folder name using the following sudo command syntax:
sudo mv /Users/oldusername /Users/newusername
I received the following error after I entered the password:
"limited is not in the sudoers file."
The only thing I could think of was that the account I created, "limited", was not set up with admin rights - so I went in and selected the "Allow user to administer this computer" checkbox for this account. However, a warning saying the change won't take affect until I logout and back in. I'm reluctant to do this, in case something happens where the Mac requires shutting down before all steps have been completed.
nothing will happen. just log out/in and rerun the command. an account has to be admin to use sudo.
Message was edited by: V.K.

Similar Messages

  • How to change the name of home folder?

    I migrated from an old MacBook to a new one, and in doing so, I imported data into an account which I had given a temporary name. Now I've changed the name of the account in System Prefs/Accounts, and the new name is displayed on startup, but the home folder stubbornly displays the temporary name. If I open the info wondow for the folder, the name field is in gray. Any way to do this? Terminal?

    What you're looking to do is change the short username, which is not as easy as Niel's recommendation, and generally not recommended unless you really know what you're doing.  For full instructions, see:
    http://support.apple.com/kb/ht1428
    You're probably better off creating a new account with the appropriate username and then copy data over from the old account.

  • How do I change the name of a folder in content space?

    As far as I can see there is no way to change the name of a folder/space in Livecycle. I have looked in the contentspace admin interface and searched all the api:s with no result. I assume there IS a way to do it?
    /Lucas

    Right click it, go to Properties and then change it there.

  • How Do You Change The Name Of A Folder?

    I have a very simple, almost ashamed to ask, question. How do you change the name of a folder? As always, thanks in advance.
    800 mz Flat Screen iMac   Mac OS X (10.4.4)  

    Howard,
    Click (select ) the folder, hit the return key and start typing...
    Before you start typing, you can go to the beginning, or the end of the title without deleting the title by using the back/forward arrow keys.
    ;~)

  • How do you change the name of a folder/file on an expansion drive

    How do you change the name of a folder/file on an expansion drive or external hard drive?

    The same way you change it on the internal drive; click on the name and wait a second or two for the field to drop into editing mode, then just type the new name. Or Get Info on the file/folder and change the name there.
    Regards.

  • Will someone please tell me how to change the name of a folder I created in Pages and saved to the cloud?

    Will someone please tell me how to change the name of a folder I created in "Pages" and saved to the "Cloud"? Thanks.

    Go to the open dialog in Pages and select iCloud.
    Click on the folder that you created on iCloud to open the folder.
    On the lower half of the window (the open folder) click on the name of the folder.
    Once you click and select the folder's name it should be editable.

  • How do u change the name of a folder on the iPad?

    How do u change the name of a folder on the iPad?

    Hold an icon until they start to wiggle (like when you put them in the folder), open the folder by tapping it, and just tap on the name of the folder. Alternatively, you can do this from iTunes too.

  • How do I change the name of a folder in the System/Library folder?  I need to do it to debug a program that is crashing due to some plugins in the folder.

    The program crashing is Sibelius 6 -- music scoring program.  I am running OSX 10.7.5.
    I changed a playback setting in the program and then it crashed.  Sibelius playback device needs to get permissions to use audio plugins and there are some that are, apparently, Sibelius 6 doesn't like.  I don't need to use these vat, AU plugins in this program, but I cannot get out of it unless I change the name of the folder Sibelius looks to for those  plugins. 

    Choose Utilities from the Finder's Go menu, open the AppleScript Editor, and run:
    do shell script "mv '/System/Library/oldname' '/System/Library/newname'" with administrator privileges
    (126015)

  • Want to change the name of workbook folder in bex

    hello gurus
    i would like to change the name of the workbook folder and the sub-folder in bex, can anyone please tell me how to do?
    please note its not name change of query but its a folder name change.
    thanks in advance
    zam

    Hi Zammy,
    In the Bex Open or Save dialog box you can see the folders. Click on the button to see the Technical names. This is the name of the role. Open it up in PFCG and make the changes. Take care that if you transport this to your production system, and the role is empty in Dev (no workbooks assigned) then the workbook assignment will be lost in BWP as well. So it is a good idea to have a copy of those workbooks on your local system so that you can replace them after the trasnport.
    Hope this helps...

  • Changed the name of "home" now site won't work

    hi. I changed my home page. What i did was make a duplicate, then deleted the original home folder, then renamed the duplicate to 'home'. (it won't allow me to use a cap "H" though)
    I had the site masked and forwarded via Godaddy, and now my domain will not work. If i publish and visit, the site is fine, here it is http://web.me.com/coutroulis/Nikos_site/home.html
    and the linked domain, is www.coutroulis.com
    (which doesn't work)
    any help would be great
    thanks

    never mind, seems to have magically fixed itself
    thanks

  • When I add a new bookmark sub-folder, it also changes the name of a different folder to the name of the new sub-folder

    When I add a new bookmarks sub-folder, it also changes the name of another folder to the name of the new sub-folder. For example, I have folders A, B, C - I add a sub-folder to A and call it X - it does that and also changes the name of C to X.

    I suggest you install the "Add Bookmark to Here2" extension, then you can expand the the list but you will not see the bookmark itself in the list if that is what you wanted. At the top you have three major folders you can select one of them and scroll up and down. Below that you have your most recently used folders and you can select one of them instead and scroll up and down. You can see the folder the bookmark is in -- they get added to the bottom
    If you really want to see the bookmark within the folder the same extension allows you to bring the bookmark to the folder from say the bookmarks sidebar that is why it is named as such. I use it but mainly i use the dialog.
    Please continue reading about bookmarks and some related extensions at
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    * http://dmcritchie.mvps.org/firefox/firefox.htm#addbookmarkhere2
    * http://dmcritchie.mvps.org/firefox/kws.htm
    If you are not using tags at all, you can remove a whole lot of confusion by removing them from the dialog via the extension.

  • Change the name from Portal Favorites to Portal Favourites

    Hi,
    There is a requirement that where ever in Portal, the name of Portal Favorites should be changed to Portal Favourites.
    So when I add something to Portal Favorites in Portal, then there we get Organize Entries in the context menu and opening this it will open a pop-up having name as Favorites.
    I searched and come to know that this is coming from a folder under KM Content /userhome/<portal-userid>/Favorites.
    If I changes the name Favorites to Favourites then it reflects to that corresponding id, but changing from here for every portal-userid will be very difficult.
    Can someone tell how we can change on global basis for every portal user.
    Regards,
    Deep Nain Kundra

    Hi there,
    The iView called "Favorites" in Content Provided by SAP > End User Content > Standard Portal Users > iViews > com.sap.km.iviews points to a KM folder which you can find in Content Administration > KM Content > root > Entry Points > Favorites. You can change the name of this folder: with Entry Points > Favorites selected choose Folder > Details and then Settings > Properties, set the name to whatever you like and click Save.
    Now this isn't 100% effective but if a user accesses the Organize Entries command from the Favorites context menu, they will now see your custom folder name. A preview of the iView will show the same.
    What this doesn't do is change the name of the Entry Point, so a user looking under Documents will still see the heading "Favorites". According to SAP Help this can be changed by creating a custom bundle file, but despite following the steps detailed in [Changing Labels and Symbols for Entry Points|http://help.sap.com/saphelp_nw70/helpdata/en/36/8b6b4066d9bf49e10000000a1550b0/content.htm] I have not had success with this.
    Tom

  • Changed the name, it changed everything

    I hope I can describe this so that it makes sense...
    I'm pretty new to macs, I just got a new iMac about a month ago. So far everything has been perfect and I absolutely love it. Last night, I opened the Finder and noticed in the little pane on the left side (Applications, Desktop, etc.) that the little house icon had my computer name on it (snz48) and not my actual name. So I changed the name of it to my actual name and went about my business for about 15 minutes. I opened Firefox and it didn't go to my homepage and all my bookmarks were gone. The documents I had on my desktop disappeared, and all of my settings went back to default. This is because I changed the name of that folder, right?
    Inside of that newly changed name folder, another folder called "snz48" is in it with all my old stuff, like all my bookmarks, documents, everything. It seems like because I changed the name, the mac is just looking in the wrong place for all my things, because they are all still there, just not in the right place I guess.
    So my question: is there any way to get everything back to the way it was? I hope this all made sense ... thanks so much!

    So, how does one change the name without messing anything up. I haven't done this yet, but I have to say that I'm not fond of the fact that I like my full name identifiable when I'm surfing the web. I guess the machine automatically defaults to using your name? I don't remember an option to change that during set-up. Is this making any sense?

  • How to change the name of my Home Folder

    I'm just wondering how I could change the name of my personal home folder which is associated with my username. I heard that there's a script I can download or something.

    First, before you go messing around with your home folder, make SURE you have a backup. If you have to ask how to make one, this process is not for you-it's advanced, and can mess up your data if done wrong.
    1. Open Accounts preferences (>System Preferences...>Accounts)
    2. Unlock the lock at the bottom, if necessary.
    3. Control (or right) click your account's name, and click "Advanced Options..."
    4. (IMPORTANT) Change "Short Name" to what you want the new short name to be.
    5. (IMPORTANT) Change "Home Directory" so that the path is right (I.E. if your new short name is "test1", change the path to "/Users/test1"-basically, DON'T CHANGE "/Users/"-just what comes after it-DON'T TYPE THE QUOTES)
    6. (IMPORTANT) Click "OK", and restart.
    Good luck! AND BE CAREFUL!!!!!!!

  • How does one change the name of the home folder?

    I would like to change the name of the administrator and home folder on one of my computers. How is this accomplished?
    I'd be most grateful for some help with this.
    Thanks.

    Macworld | Changing the short username in Leopard. Use the last procedure, "The Full Monty."

Maybe you are looking for

  • Report works fine iusing 11.0; produces incorrect results using 11.5

    I have a report that accepts a .net dataset which has many linked tables. When the report is run using the 11.0 environment it works fine. When the report is run using the 11.5 environment the report is produced, but the results are not being linked

  • I bought a new router and now my mac can no longer find my air port express

    I recently installed a new Netgear N600 router.  The internet and wireless are working.  I had previously purchased an Airport Express for use simply as Air Tunes and used it with our old router with no problems.  However, since we installed the new

  • Mac Mini 1.66 Questions from an XP user

    Hi, Im currently thinking about purchasing the base model Mac Mini but with a GB of ram installed. I work with PC's all day and get tired of using one when I get home. I do not game on my PC as I have a 360 with a live account. However I do not have

  • I'm having a problem with my GPS connection plz. ...

    i have a problem with my new nokia 5800 xpress music. my problem is when i baught the phone the GPS is banned in my country (EGYPT) but now it is permissible to use it in my country so i updated my nokia 5800 software withe the nokia software updater

  • Totals in Row and column

    I have a requirement in report, It should display totals in row and column wise, Group open     Close     Total      A     10     5     15      B     15     10     25 Total     25     15     40 Thanks, Srini