完成 #182
open
rk3588 ubuntu 20.04 无法切换root 权限
Added by 余 顺 over 2 years ago.
Updated about 2 years ago.
Description
版型:rd-rk3588
系统:ubuntu20.04
报错如下:
sudo su root
`sudo: unable to resolve host rpdzkj: Name or service not known`
sudo su root
`user is not in the sudoers file. This incident will be reported
无法切换root

Files
需要 debug 调试串口登陆
具体见网盘资料 \05-工具\串口调试工具
无法切换 root
增加rpdzkj 到对应的sudo用户组

解决 `sudo: unable to resolve host`
修改 `/etc/hosts`,可以从其他 ubuntu 拷贝

参考资料https://stackoverflow.com/questions/47806576/linux-username-is-not-in-the-sudoers-file-this-incident-will-be-reported
- Tracker changed from 新建 to 完成
- Status changed from 新建 to 完成
- vim /etc/sudoers
用户名 ALL=(ALL) ALL
debug 调试串口 默认115200 登陆方法见 xxxxx-rk3588\05-工具\串口调试工具
Also available in: Atom
PDF