Project

General

Profile

Actions

完成 #182

open

rk3588 ubuntu 20.04 无法切换root 权限

Added by 余 顺 about 2 years ago. Updated about 2 years ago.

Status:
完成
Priority:
普通
Assignee:
-
Category:
system
Target version:
Start date:
01/13/2023
Due date:
% Done:

0%

Estimated time:

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

Updated by 余 顺 about 2 years ago

需要 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

Actions #2

Updated by 余 顺 about 2 years ago

  • Tracker changed from 新建 to 完成
  • Status changed from 新建 to 完成
Actions #3

Updated by 谭 志豪 about 2 years ago

  1. vim /etc/sudoers

用户名 ALL=(ALL) ALL

Actions #4

Updated by 余 顺 about 2 years ago

debug 调试串口 默认115200 登陆方法见 xxxxx-rk3588\05-工具\串口调试工具

Actions

Also available in: Atom PDF