创建ubuntu用户 #20

Closed
opened 2025-04-25 16:33:53 +08:00 by Sirius · 1 comment
Owner
sudo adduser 用户名

输入信息,可为空
2.

sudo visudo

在文件底下添加用户名 ALL=(ALL:ALL) ALL解开sudo权限

1. ```bash sudo adduser 用户名 ``` 输入信息,可为空 2. ```bash sudo visudo ``` 在文件底下添加`用户名 ALL=(ALL:ALL) ALL`解开sudo权限
Sirius added the ubuntu label 2025-04-25 16:34:06 +08:00
Author
Owner

有rsa登录免sudo密码用户名 ALL=(ALL) NOPASSWD: ALL

有rsa登录免sudo密码`用户名 ALL=(ALL) NOPASSWD: ALL`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sirius/note#20