User account name and home directory name do not match

A month ago I bought the latest iMac and used Migration assistant to migrate all of my data on over.
Everything went well... Except that my new iMac would not let me use my old user name. I had to create somethign else.
So my user (admin) account name is not the same as my Home directory name. (I only have 1 user account and 1 user Home directory... they both are named differently).
This has not caused problems, but I want to iron this out. I tried using System Preferences/Users and groups to change my user account name to match the name of my home directory name (which has my old user name)... but when I did that it said "Name not available".
Long time Mac user but I'm not comfortable doing anything deeper without some input & advice.
Thanks in advance!

I enable the Root user as outlined in the Apple Way instructions...logged out and loged in as the rooot user... but I really don't want to change the name of my user directory... That's the name I want to keep as a User.
Even logged in as a Root User...
I tried to change my current User Name to match by directory name, but it said Name is Not Available
I also tried to create a new User name that matches my directory name...same results Name is Not Available
Is there a sudo entry that will change the User to match my Directory name (which I want to keep and use)?
Thank in advance!

Similar Messages

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

  • Changed shortname and home directory name and don't know how to set it back

    so i changed my short name and home directory name because i bought the macbook used and i was trying to rename it to my name.
    Like all the others now the desktops back to default without any of my files/music, i know its still here its in the old account folder how do i just reverse this so i can have my desktop and everything back.
    heres what it is like:
    my users folder there is a home icon called "Josh" which is my name, then there is a folder icon called "nick" which is the old name and it contains all my files etc. then a shared folder icon.
    what do i do?
    p.s. i tried the method of adding "_new" onto the home icon called Josh and it said i couldn't change it because its part of Mac OS X or something...

    if you bought a used computer the first thing you should do is reformat the hard drive and reinstall the OS. anything else is less than prudent. it will also let you name your computer and your user as you like.

  • Can not login after changing account short name and home directory

    Hi,
    I did sth rather stupid while trying a get timemachine working on my iMac 10.5.5.
    I changed the short name, login shell and home directory of my account. (didn't listen to the waning that I may not be able to login if I change those information Now I can not log into my account anymore. I tried to use fileVault master password to change the password of my account, but it didn't help. Can anyone tell me how do I fix this problem?
    Thanks a lot!

    xyz2008 wrote:
    No, I still can not log in as that user.
    I did as you advised, but it gave the following message:
    "attache failed, no such file or directory"
    then I suspect you may be entering the command incorrectly. another possibility is this. I noticed you said in one of the previous posts that if you cd into the main user home directory you only see user.sparseimage. It actually should be user.sparsebundle. Or have you upgraded to leopard from tiger with filevault turned on? then it could have remained sparseimage rather than sparsebundle.
    run the following in terminal
    sudo ls -la /users/username
    and post the results.
    does it list sparsebundle or sparseimage?
    Another thing, when I typed in the command, it didn't take the admin (root) password, but the password of the account I was logged in got me through.
    that's what it has to be. it takes the password of the user (it jhas to be an admin user) which is currently logged in.
    I am wondering if I can recover the problem user's files from the sparseimage file, then copied all the files to a new user.
    Message was edited by: V.K.

  • File Name and Target Directory name issue in FTP CC

    Hi All ,
    I am using following code to assing file name and directory name in UDF. I don;t want these parameters to be part of my target structure. Since i have created these files names in UDF, what are the values do i need to mention in FTP CC's "File access Parameter" which are mandatory fiels in CC ?
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String myFileName =biz +".dat";
    conf.put(key, myFileName);
    //Similar code for direcotry
    Thanks for your support.
    MK

    Hi,
    in ID in receiver file comm channel, just tick the option of Adapter Specific messge attributes and in it tick FileName and DirectoryName.............
    the filename and directory you give in comm channel will be treated as dummy and the values will be taken from your UDF.......
    Regards,
    Rajeev Gupta

  • Login Name and  Home Folder names don't match

    Many months ago I embarked on a mission to clean up a drive which I ported over to another computer and in the process tried to rename the user name but I can't get the home folder to reflect the user's new name.
    On launch the computer has the proper user name but the home folder retained the old user name.
    Is there a way to correct this?
    I am stumped.

    Neil
    I just wanted to let you know that I will not attempt your procedure yet until my wife has finished her thesis.
    I have no reason to believe it will not work but should I make any mistake along the way I would rather have it happen later.
    Once I run the procedure I will be back to mark your advice as a solution and answer to my question. So for now I will leave it marked as helpful.
    Thanks, I appreciate the quick response and look forward to finally having my wife's iBook consistent in terms of user name, in the meantime the machine is working great!

  • Change account username and home folder issue

    Hello guys,
    Apple store re-installed Yosemite v10.10 on my MBA early 2014 (128gb, 4gb)
    I wanted to change the account username and the home folder name after installation however I think I did it the wrong way to start with
    Step1
    I went into System Preference > User Groups, unlocked padlock, ctrl+click on the admin account > advanced options and replaced account name and home folder name with new name (e.g. my computer). Both match.
    Relocked padlock, quit system preferences. Rebooted.
    Step2
    Then I realised that what I did, so I have did it all again after reading Change your OS X account name and home directory name - Apple Support
    Could you please tell me whether step1 and step2 might have corrupted the operating system (e.g. legacy preferences, etc, etc)? How can I check that?
    Thank you for your support.

    Eric, thank you.
    Actually Keychain access app has been malfuncitoning since Yosemite was installed and username and home folders were renamed.
    Sintomps
    the following services and apps keeps asking to use "Login" keychain
    - Messages
    - Calendar Agent
    - Safari
    - ScopedBookmarkAgent
    - accountds
    - com.apple.helper
    I always lock keychain. Keychain is sync with admin account password. Keychain verified and repaired. No problems found
    I have followed this tutorial with no good result
    OS X Mavericks v10.9.1: Repeated prompts to unlock "Local Items" keychain  PS: the alpha numeric folder in ~/Library/Keychains/ starts with letter b not letter A as suggested in the tutorial
    Resetting your keychain in Mac OS X
    OS X: Keychain Access asks for keychain "login" after changing login password
    What are you thoughts? Thank you for your support.

  • Account and home folder names don't match

    i'm the only user on my mac, and the account is set to my full name. somehow, i made the home folder a different name. is there any way to change the home folder name so that it matches what i have as the account name?

    home folder name is set to your short login name (not long login name) by default. If that's what it is now I would recommend against changing it. if you REALLY want to change it you can but it's known to cause some issues.
    see this link for details.
    http://www.macworld.com/article/132693/2008/03/changeshortusername.html

  • How do you setup a user mobile account, with the home directory stored locally and not synced to the server?

    I want to be able to setup a user mobile account, with the home directory stored locally and not synced to the server.  What is the best way to do this? I am running Server 10.6 with 10.6 clients.  Open Directory will be used to authenticate and manage preferences.   Also, this one account will be used simultaneosly in a computer lab setting, so files will be stored locally in the client, hence the need to NOT sync to the server.  Any Ideas? 

    currofelix wrote:
    So what does WGM Look like in the Home Tab? afp://servername.domainname/Users? or afp://Users?
    The attached screen shots should help you:
    You will only have to do this step once. Obviously you want to use the user's shortname here.
    Then, you will see this as an option in WGM:

  • How do I change home directory name?

    In FINDER, the home directory name is from an old employee. How can I change it?

    Log out and then into a different user account, or create one from System Preferences. If so desired, control-click the account in the Accounts or Users & Groups pane of System Preferences, choose Advanced Options, and change the name and home properties; if the computer happens to be running Mac OS X 10.4, the instructions are significantly different.
    (71132)

  • TS3899 I changed my email account pw, and now my iphone will not let me to send email stating that name or pw is incorrect - no problem receiving.

    I changed my email account pw, and now my iphone will not let me to send email stating that name or pw is incorrect - no problem receiving.

    You most likely did not change the password in the outgoing mail server section of your email account.
    Go to Settings > Mail, Contact, Calendars > your email account > Advanced > Outgoing Mail Server
    Re enter the correct user name and password in the outgoing Mail server section even though it may say that these are optional.

  • AD mobile account stores Mac user profile in Windows home directory

    My Windows Server 2003 AD accounts have roaming profiles and user home directories stored in different locations on Windows Server 2003 servers. How do I prevent my MacOS tiger clients from copying the local user profiles for AD mobile accounts to the respective remote home directories?
    This unwanted behavior is quite similar to using Windows 9x clients in similar AD environment.

    I do need to automount the network home directory but do not desire to have it sync with the local home directoy. I disabled the "create mobile account at login" option and enabled "force local home directory on startup disk" and "use unc path from active directory ..." and these appear to have resolved the problem. Unfortunately the network home directory no longer automounts, nor do network accounts show up at the logon prompt (strangely enough, they can be configured to autologin.)

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Why do I loose my blue toolbar with my name and home on it when I start scrolling

    On my screen when I am on Facebook, the toolbar that has Facebook, my name, and home on it just scrolls with everything else when I scroll. I cannot just click on home to get back to the top. I have to scrol back up to get back to the beginning.

    [[Websites look wrong or appear differently than they should]] might help

Maybe you are looking for

  • Recently Added Folder Deleted...How Do I Get It Back???

    I mistakenly deleted the "recently added folder" on my iTunes page. Does anyone know how I can retrieve it, or re-add it???? Thanks.... Kevin.

  • Problem with instal the program Photoshop CC

    I've two computers and one adobe AD. I pay for two contracts for Photoshop CC. One program work OK, however second program didn't instal and said that you have the problem now, try again or contact with support. What need to do?

  • Where did my VRAM go???

    I bought a new Powerbook in May and upgraded to 128 of video ram, as well as boosting the memory. I double checked these in the system profiler when I got the machine. However, I am having trouble installing the new 10.4.3 update and happed to look i

  • Satellite A45-S1202.​..sound driver not working?

    Greetings.  I couldn't find this problem by browsing/searching the forum, so here I am: My laptop's sound works, but ONLY if I'm using the Imaging disc that came with the comp.  I've tried a copy of XP Professional w/ SP1...no sound, so I reinstalled

  • Please Help - Garageband on Macbook Air

    Hello, I just bought a new Macbook Air and was all excited to start jammin my guitar using a guitar to USB cable, until I hooked it up and the only sound that comes out of the speakers is a continuous loud thudding sound (DUD-DUD-DUD-DUD-DUD-......).