Kam*_*ami 6 mac osx-snow-leopard macos
尝试连接到服务器时,我收到以下提示:
默认情况下,Snow Leopard 填写名称字段,Firstname Lastname
在 System Pref -> Account -> My Account -> Full Name 中找到!
我不知道将我的全名更改为我用来登录服务器的用户名!
您如何更改连接到服务器时 Snow Leopard 使用的默认名称?
实际上,有一种真正的方法可以更改此用户名。
对于懒人:
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool NO
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseShortName -bool YES
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool YES
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization DefaultName "user"
将“user”替换为所需的自定义名称并将其括在引号中。
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool YES
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization DefaultName ""
仅当您进行了上面列出的任何更改时才需要这样做。
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool NO
$ defaults write /Library/Preferences/com.apple.NetworkAuthorization UseShortName -bool NO
或者
$ defaults delete /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName
$ defaults delete /Library/Preferences/com.apple.NetworkAuthorization UseShortName
归档时间: |
|
查看次数: |
11608 次 |
最近记录: |