An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
User short-name in ML
#25833 05/02/13 04:53 PM
Joined: Aug 2009
pbGuy Offline OP
OP Offline

Joined: Aug 2009
I've been using a User short-name which is in all caps. (I've not experienced any issues I'm aware as this set-up has been in use for several years.) ...I've just read where the short-name must be all low-case.

Other than deleting the current User account in favor of a New User account, is there a way using Terminal to effect the short-name change with the current User?

- If I must delete this current User account, I've seen Apple's instructions about saving a Home folder disk image. But, I'm not clear about how to re-install that saved Home folder (contents ?) to the New User after deleting the Old (current) User.


MacStudio M1max - 14.4.1, 64 GB Ram, 4TB SSD; Studio Display; iPhone 13mini; Watch 9; iPadPro (M2) 11" WiFi
Re: User short-name in ML
pbGuy #25837 05/02/13 07:31 PM
Joined: Aug 2009
Likes: 1
Offline

Joined: Aug 2009
Likes: 1
The short name is all lower case by history and convention in Unix. It is no longer a requirement (hasn't been for a long time) that it must be all lower case.


Photo gallery, all about me, and more: www.xeromag.com/franklin.html
Re: User short-name in ML
tacit #25838 05/02/13 07:53 PM
Joined: Aug 2009
pbGuy Offline OP
OP Offline

Joined: Aug 2009
... just to confirm.

With 10.8.3, I'm Ok to have my short-name in all capital letters. Correct?


MacStudio M1max - 14.4.1, 64 GB Ram, 4TB SSD; Studio Display; iPhone 13mini; Watch 9; iPadPro (M2) 11" WiFi
Re: User short-name in ML
pbGuy #25840 05/03/13 12:44 AM
Joined: Aug 2009
Likes: 1
Offline

Joined: Aug 2009
Likes: 1
Correct. It won't hurt anything.


Photo gallery, all about me, and more: www.xeromag.com/franklin.html
Re: User short-name in ML
tacit #25841 05/03/13 01:33 AM
Joined: Aug 2009
pbGuy Offline OP
OP Offline

Joined: Aug 2009
smile

Thanks.


MacStudio M1max - 14.4.1, 64 GB Ram, 4TB SSD; Studio Display; iPhone 13mini; Watch 9; iPadPro (M2) 11" WiFi
Re: User short-name in ML
pbGuy #25980 05/26/13 07:55 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
Just a reminder that HFS+ support case sensitivity if you choose to enable it. And then it will get picky on you if you try to swap case unexpectedly.

OS X has an interesting take on case sensitivity. When you select "case sensitive", it becomes both "case sensitive" and "case-preferred". And iirc it prefers upper case. But not everything prefers. Testing for file existence for example does NOT prefer, it demands.

On a case-sensitive system, you can do the following dance:

create HELLO
edit HELLO
edit hello (also works, edits HELLO)
test for HELLO (found), hello (not found)
create hello (now you have HELLO and hello, HELLO will occur first in file listings)
test for HELLO (found), hello (also found)
edit hello again (but unlike before, this time you're editing hello, not HELLO)
edit Hello (and it will edit HELLO, not hello, because only HELLO starts with H)

Testing for existence requires exact case match. Everything else (iirc) prefers upper but will settle for lower. This causes weird problems when installing software not tested to run on case sensitive systems.

app start.
does preferences file exist? no.
create new Preferences file with default settings
save new settings
program runs and makes changes to prefs as user uses app.
app close

later...

app start.
does preferences file exist? no.
create new Preferences file with default settings
... where did my pref changes go?

of course this is the programmer's fault but easy mistake to make. You might also find you have both a Preferences and preferences file at the same time, causing additional weirdness. Occasionally you will run into software that will NOT work correctly on case sensitive HFS+ filesystems.

Last edited by Virtual1; 05/26/13 07:59 PM.

I work for the Department of Redundancy Department

Moderated by  alternaut, dkmarsh, joemikeb 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.014s Queries: 26 (0.011s) Memory: 0.5937 MB (Peak: 0.6634 MB) Data Comp: Zlib Server Time: 2024-04-23 19:32:09 UTC
Valid HTML 5 and Valid CSS