Install Parallels Desktop 9 for Mac need root (UID must 0)
Good Morning!
Just installing the update for Version 8.
Unfortunately i get the "Error 15380" during the process and it stops.
My Question:
What does it mean?
How can i fix this?
Kind regards from:
Uli
Some times, you 'sudo su' command can't change you to root (uid 0), it only change your group is root.
有些时候,执行"sudo su"命令无法使你切换到root账户(uid 为 0)的root,只能够把你切换到 root 组。
This is very important, because PD need root(uid 0) to install Mac OS X kernel extensions, .kext files.
这是十分重要的,因为 PD 需要使用 root (uid 0) 来进行安装一些 Max OS X 中的 内核扩展, 也就是 .kext 文件
You got Error 15380, it means PD can't change current user to root(0),
你遇到 15380错误,就是因为PD无法切换当前用户到root(0)
This is not a PD bugs, it is Mac OS X setting. But I hope PD friendly prompt to me, why happen 15380.
这不是PD的Bug, 这是Mac OS X 的设置问题。但是我希望PD可以更友好的提示我,为什么出现15380.
Fix to install.
修复完成安装
0. Fix Disk permission
0. 修复磁盘权限
Terminal command:
命令行:
1. 'sudo su' Change current user to root, input your current user's password
1. 'sudo su' 切换当前用户到 root,输入的是当前用户的密码
2. 'id -a' Check current root account information, If output 'uid=xxx(root)....' then you must fix uid to '0'
2. 'id -a' 检查当前root 账号的信息,如果输出的内容是 'uid=xxx(root) ...' 那么就必须修复这个 root 的 uid 到 '0' 才可以
3. "sudo -u '#0' command " force execute command with root (uid 0)
3. "sudo -u '#0' command " 强制使用 root(0) 来执行命令
4. 'dscl . -list /Users UniqueID' display all User in Mac OS X UniqueID information, user means unix account, include login User and some system account
4. 'dscl . -list /Users UniqueID' 现实所有Mac OS X中账号的UniqueID 信息,账号的意思就是Unix风格的账号,包含登录用户,也包含各种系统用户
5. find root uid in dscl list result, it will be used in next command
5. 查找root的当前uid, 这个信息在下面的指令中用到
6. "sudo -u '#0' dscl . -change /Users/root UniqueID xxx 0" change root uid xxx to 0 , xxx is result from prev command
6. "sudo -u '#0' dscl . -change /Users/root UniqueID xxx 0" 将 root 的 UID xxx 调整为0, xxx 是上一个指令中找到的。
7. exit, and quit Terminal
7. 退出账号,退出 Terminal 程序
8. install PD
8. 安装