Changing the short username in Leopard
#2
Posted 28 March 2008 - 02:15 PM
Thanks.
#3
Posted 28 March 2008 - 03:46 PM
Lesson learned, if it ain't broke, leave it alone. Grr.
#4
Posted 28 March 2008 - 03:59 PM
#5
Posted 28 March 2008 - 05:36 PM
alansky said:
Note where I said "Do not make any other changes" ;) The aliases box also displays other UUIDs (universally unique identifiers) created for your account for various purposes. Like your username and primary UUID, they still require some sort of authentication for access, so it's not as though someone could somehow generate an alias and instantly have access to your account.
That said, I doubt you'll see any horrible consequences from deleting the two you deleted. But I'd leave them alone in the future.
#6
Posted 28 March 2008 - 05:41 PM
Vito said:
It sounds like you changed the path to your home directory (in Accounts preferences) without performing the crucial second part?renaming the folder using Terminal. (Or that you didn't enter the correct path.)
Open the Advanced Options for the affected account and see what the path is in Home Directory; it should be /Users/name
Then open the Users folder at the root level of your hard drive; you should see a folder called name (where, of course, name is the same as in the previous step: /Users/name)
If the two aren't the same, there's your problem.
#7
Posted 28 March 2008 - 05:42 PM
Aberdeen said:
Time Machine will indeed re-backup after restoring. As for why it's so slow in your case, I really have no idea; it's probably unrelated to the various changes you made with respect to your home folder.
#8
Posted 29 March 2008 - 08:48 AM
I like to keep iTunes data in /Users/shared, and have it all owned by the Admin user. Some features of iTunes seem to require read/write permission to work properly, but I don't want to give Everyone write access. A Group containing all local Users and given read/write access would make it work, but I can find no facility for setting up such a thing. Do I have to edit /etc/passwd by hand?
-------------------
Nobody expects the Spanish Inquisition!!
#9
Posted 29 March 2008 - 07:42 PM
Imaginos1892 said:
When viewing the Accounts pane of System Preferences, you'll notice, in the list on the left, Groups in small print. Click on the small disclosure triangle next to Group to view current groups (except those managed by the OS, such as admin and wheel).
Clicking on a group in the list will display, to the right, the membership of that group; you can add users to, and remove users from, the group here.
If you right-click (or Control-click) on a group name, you'll see an Advanced Options item in the resulting contextual menu; choose it to view the group ID.
To create a new group, click on the plus (+) sign at the bottom of the Accounts list; in the resulting dialog, change the New Account pop-up menu to Group and then name the group.
If you want to make one group a member of another group, right-click (or Control-click) on the name of the latter; in the resulting contextual menu, just below Advanced Options, you'll see Add User or Group; choose it and then type in the name of the group you want to add as a member.
Hope this helps ;)
#10
Posted 30 March 2008 - 08:59 AM
Adding Users to the new Group does not change the Users' GIDs; they're all still 20. What is Group 20? Can I manage Group 20, or remove Users from it? The new LocalUsers Group's GID is 501. How does MacOS X know the Users are in the new Group? Would it be safe to manually change the Users' GIDs from 20 to 501?
---------------------
Nobody expects the Spanish Inquisition!!
#11
Posted 31 March 2008 - 02:07 AM
I am very eager to change my short name, I'm new to Mac and I thought I could just put whatever I desired and change it later, I didn't know I couldn't change it.
Question though, if I do the "fully monty", would I lose my address book contacts, itunes library / mp3s, and applications?
From the syntax (and since I'm a newbie on Mac), it looks like it's "move oldusernamefolder to newusernamefolder" meaning an overwrite? Also, once all "fully monty steps" are fulfilled, there will be a need to delete the Old Username wouldn't it?
Please do help... Thank you so much.
#12
Posted 01 April 2008 - 03:35 PM
chetiboy said:
No, all these will remain as they are; you're simply changing your account username, changing the name of your home folder, and telling OS X to use the newly-renamed home folder. Your personal files and data are unchanged.
chetiboy said:
The Unix mv command works differently depending on whether you're "moving" an item to a different volume or the same volume. If you "move" an item to a different volume, a copy is made on that volume, and then the original is deleted. However, if you "move" an item to a different location on the same volume, or to the same location but with a different name, the data itself is left alone; only the path to the item?or its name, in this case?is changed.
#13
Posted 01 April 2008 - 06:35 PM
What do you think of this approach?
1. Log in as Root (enable this using the Directory Utility)
2. Change the name of home folder
3. Open the Accounts System Preference
4. After authenticating, right click the account you want to change, and Advanced Options window will appear
5. The options include the ability to change the short name and to designate the home directory (which now has a new name)
6. Restart the computer
7. Disable Root (disable this using the Directory Utility)



Sign In
Register
Help

MultiQuote
