Macworld Forums: Changing the short username in Leopard - Macworld Forums

Jump to content

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Changing the short username in Leopard

#29 User is offline   Fidel Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 04-June 08

Posted 04 June 2008 - 05:48 PM

Hey Dan, I followed every step until I got to the Terminal part. When I had to put in my password, I didn't know whether I should put in the password of the account I wanted to modify or the password of where I was currently logged in. What's worse was that the field did not allow me to view the password I was typing and so there's this fear that I may have put in a wrong one.
I kinda forgot what the Terminal said after I put in a password but it sure sounded kinda negative. I decided to redo the whole "sudo mv" step but Terminal didn't elicit the supposed response.
Dan, how would I know if I either put in a right or wrong password? How would it respond? What can I do to remedy the situation if indeed I put in a wrong password?
Thing is, by the way, when I restarted my Mac, my short user name and its home directory actually changed to what I desired it to be. But then there's this lingering feeling that I may have done something wrong during the Terminal part of the process which may result to undesired consequences in the future. What should I do?
Help! :(

P.S.

Awesome tip, by the way!
0

#30 User is offline   Dan Frakes Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 3,765
  • Joined: 14-April 03

Posted 04 June 2008 - 11:34 PM

Fidel said:

Hey Dan, I followed every step until I got to the Terminal part. When I had to put in my password, I didn't know whether I should put in the password of the account I wanted to modify or the password of where I was currently logged in.


As it notes in the article, "provide the password of the admin account you?re currently using." (Perhaps I wasn't clear that by "currently using" I meant "currently logged in under.")



Fidel said:

What's worse was that the field did not allow me to view the password I was typing


Yeah, that's a shell issue; it never displays your password (or even an obscured version that would indicate you're typing anything).


Fidel said:

Thing is, by the way, when I restarted my Mac, my short user name and its home directory actually changed to what I desired it to be. But then there's this lingering feeling that I may have done something wrong during the Terminal part of the process which may result to undesired consequences in the future. What should I do?


If you've got the new short username and your home directory is as it should be, you're set!

#31 User is offline   Fidel Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 04-June 08

Posted 05 June 2008 - 01:22 AM

Oh, okay. Thank you so much, Dan! :D

So does it mean whatever I must have put in the Terminal was right (regardless of the program's response) because otherwise, the short username and home name transition wouldn't take place? I'm just making sure since I now remember Terminal having that "...sudoer ... . This incident will be reported..." statement after I typed in the password.

Apologies if I seem to be harassing you with questions. You've been really helpful though.
0

#32 User is offline   Fidel Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 04-June 08

Posted 12 June 2008 - 07:08 AM

Hey Dan, it's me again. Really sorry if I'm pestering you with questions but recently, I was checking out my Finder and I saw my old home directory folder still present in my Users folder. Although the new home directory folder is there with the matching "house" icon, having the old home directory folder kinda bothered me.
Is it safe to just throw the old home directory folder in the Trash and completely erase it ("external" method) or do I have to type in something at the Terminal ("internal" method)?
I hope you could help me out on this... Thank you very much!
0

#33 User is offline   briancross1 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 14-June 08

Posted 14 June 2008 - 11:43 AM

Dan,

I had the exact same experience as Dreambiz (and no error message on terminal). I tried your step by step process twice (changing the short name successfully) but the folder name remained unchanged. Any thoughts>

briancross1
0

#34 User is offline   Dan Frakes Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 3,765
  • Joined: 14-April 03

Posted 15 June 2008 - 11:30 PM

Did you perform the step while logged in to an account with admin-level status?

#35 User is offline   Dreambiz Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 02-April 08

Posted 16 June 2008 - 02:12 AM

Well, I know I certainly did, Dan. Both my original account and the temporary one I created for this procedure are admins (they say Admin in the System Preferences Accounts window).

- Randy
0

#36 User is offline   briancross1 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 14-June 08

Posted 16 June 2008 - 06:11 AM

Dan,

Yes, I used admin-level status. The shortname on the "house" was changed, but not the folder.

Brian
0

#37 User is offline   Dreambiz Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 02-April 08

Posted 16 June 2008 - 11:33 AM

Ditto here. Going back and repeating the same steps in the Full Monty ended in the same results.

Suggestions?

- Randy
0

#38 User is offline   Dan Frakes Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 3,765
  • Joined: 14-April 03

Posted 16 June 2008 - 04:55 PM

I'm at a loss, quite honestly, without being able to sit down in front of your computer with you. The procedure has been tested on many different computers, multiple times on each. And the command that seems to be giving you problems (sudo mv) is a really basic command that has worked essentially the same all the way back to Mac OS X 10.0 (and in Unix for many years before that).

Just to confirm, you're launching Terminal in an admin account, an account different from the one being modified, and you're typing the following command, with spaces after sudo, mv, and oldusername?

sudo mv /Users/oldusername /Users/newusername

After you type the command, you should be asked for your password. This should be the password of the account under which you're currently logged in, not the password for the account being modified.

If you enter the correct password, the mv command should run and after a second or so, you should see a new Terminal prompt. In the /Users folder in the Finder, the folder previously named oldusername should now be named newusername

If this command isn't changing the name of the folder in /Users, there's something else going on here. (Just to confirm, your /Users folder (and your home folder itself) are located on the boot volume?)

#39 User is offline   briancross1 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 14-June 08

Posted 16 June 2008 - 06:45 PM

Dan,

yes - Terminal in an admin account

yes - typing command as described

The only thing I can see that may be different is that I used the same password for both accounts. Could that have impacted it?

I am not familiar with the term "boot volume". Please advise how to verify.

Thanks for the help

briancross1
0

#40 User is offline   Dan Frakes Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 3,765
  • Joined: 14-April 03

Posted 16 June 2008 - 09:38 PM

briancross1 said:

The only thing I can see that may be different is that I used the same password for both accounts. Could that have impacted it?


That shouldn't matter.

Quote

I am not familiar with the term "boot volume". Please advise how to verify.


The boot volume is the hard drive on which the currently-running version of Mac OS X is installed.

#41 User is offline   briancross1 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 14-June 08

Posted 17 June 2008 - 07:34 AM

{font:Times New Roman}{size:3}Dan,{size}{font}

{font:Times New Roman}{size:3}Thanks for the explanation. Yes I was in the boot volume so it looks like I too am at a loss (possibly along with Dreambiz){size}{font}

{font:Times New Roman}{size:3}briancross1{size}{font}
0

#42 User is offline   Dreambiz Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 02-April 08

Posted 17 June 2008 - 01:42 PM

I understand that you have a life, Dan, and can't diagnose each issue for each person.

But this is a strange one for me because I run a fairly vanilla system and am a fairly experienced Mac user (since the beginning).

To answer your questions.

* yes, I launced Terminal in an admin account different from the one being modified and I cut/pasted the command (also typed it as indicated).

* I recall entering the correct admin password (of the temporary admin account).

* I recall seeing a terminal prompt return (with no result message one way or another).

* The folder was not renamed

* The /Users folder is (and was) located on the boot volume. However, the home folder (the 'newusername' is also located within the /Users folder on the boot volume).

Which brings up a question. Why would there a /Users/'newusername' folder at all? It was supposed to be renamed from oldusername to newusername, but the 'newusername' user folder (creation date of when I first tried this) exists and seems to be blank/generic. Does this need to be deleted before the old one can be renamed to the new? Is it possible that there was some error initially and then logging on to the new user created a generic Users/'newusername'? Then, when the process was repeated (correctly) the 'rename' could not succeed because there was already one of that name in existence?

Hope that made sense...

- Randy
0

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users