刚安装完虚拟机,打开终端出现如下报错:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

只需要:

touch ~/.sudo_as_admin_successful

关闭终端重新打开报错就消失啦

Logo

鸿蒙生态一站式服务平台。

更多推荐