HT4121: Mac OS X: Changing the default name for file server connections

Learn about Mac OS X: Changing the default name for file server connections
malaclipse23

Q: This solution is not working for me...

No matter witch from the lines above I try, I always get:

 

Could not write domain /Library/Preferences/com.apple.NetworkAuthorization; exiting

 

What am I doing wrong?

iMac, OS X Mountain Lion (10.8.2)

Posted on Oct 9, 2012 8:50 AM

Close

Q: This solution is not working for me...

  • All replies
  • Helpful answers

  • by ds store,Helpful

    ds store ds store Oct 9, 2012 11:18 AM in response to malaclipse23
    Level 7 (30,400 points)
    Oct 9, 2012 11:18 AM in response to malaclipse23

    Well it could be that your signature says your using 10.8 and the instructions are for 10.5 and 10.6.

     

    Apple likely changed something in 10.8 or if your using 10.5/10.6 that your not in a admin level account?

     

    Some command require sudo to be used in front, then your password entered when it asks as it's a root level file being edited and that can only occur in admin level with sudo

     

    It was omitted because it keeps people who don't know from messing around with certain commmands.

  • by malaclipse23,

    malaclipse23 malaclipse23 Oct 9, 2012 11:36 AM in response to ds store
    Level 1 (0 points)
    Oct 9, 2012 11:36 AM in response to ds store

    Thank you for your answer.

     

    First off, I'm aware of possible changes from 10.5 to 10.8, tho I suppose it's not likely Apple changed fundamental things in the Terminal? Then I'd like to confess that I'm not that familiar with the Terminal but a professional user nonetheless.

     

    I've messed with sudo and this kind of commands quite often in the past few weeks. Maybe it's time for me to read up on that.

     

    Could you please help me with this further anyway? I would be very thankful.

    I tried to add sudo in front of the commands, and i got:

     

    -bash: sud: command not found

     

    Do I have to be logged in with the root account? And can I simply paste these two lines and put sudo in front to make it work:

     

    defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool YES

    defaults write /Library/Preferences/com.apple.NetworkAuthorization DefaultName "user"

     

    Cheers

  • by varjak paw,Helpful

    varjak paw varjak paw Oct 9, 2012 12:44 PM in response to malaclipse23
    Level 10 (169,890 points)
    Oct 9, 2012 12:44 PM in response to malaclipse23

    I tried to add sudo in front of the commands, and i got:

     

    -bash: sud: command not found

     

    It's "sudo", not "sud".

     

    Do I have to be logged in with the root account?

     

    No. That's the whole point of the "sudo" command, so you don't have to be logged in as "root"

     

    And can I simply paste these two lines and put sudo in front to make it work:

     

    defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool YES

     

    No, since those preference files no longer appear to exist in OS X 10.8. I don't know where those settings are held now or if it's still possible to change them as in that old support article. If I can come up with anything, I'll post back.

     

    Regards.

     

    Message was edited by: varjak paw

  • by malaclipse23,

    malaclipse23 malaclipse23 Oct 9, 2012 12:56 PM in response to varjak paw
    Level 1 (0 points)
    Oct 9, 2012 12:56 PM in response to varjak paw

    whoops I've missed that last key. But as you say it seems not to matter.

     

    Thank you very much in advance!