当前位置:网站首页>Debian10 创建用户、用户组、切换用户
Debian10 创建用户、用户组、切换用户
2022-06-22 09:17:00 【Halyace】
# 新建用户组
groupadd hausers
# 新建用户并加入用户组
# -m 自动创建用户主目录
# -g 加入用户组
# -s 用户的登录shell
# -d 用户主目录
useradd hauser -m -g hausers -s /bin/bash -d /home/hauser
# 设置密码
passwd hauser
# 设置用户允许使用sudo
/sbin/usermod -aG sudo hauser
# 切换用户
su -l hauser
边栏推荐
- Volumedetect of ffmpeg
- 求余弦的大小
- [Architect (Part 39)] connecting MySQL database developed by server
- Project optimization + online (Master?)
- The circular queue is implemented in super detail. I understand it in a few seconds
- mknod
- Brush questions in C language | output 6 decimal places with%f control character (17)
- 模糊查询和聚合函数
- C# 进程如何使用非静态方法
- list_ head
猜你喜欢

threejs实现简单全景看房demo

It is hoped that more and more women will engage in scientific and technological work
![[node] node+ SMS API to realize verification code login](/img/92/acd2abf73a7b0459127dd19bf32a7c.png)
[node] node+ SMS API to realize verification code login

VMware安装Kali

機器學習|nltk_Data下載錯誤|nltk的stopwords語料下載錯誤解决方法

前馈和反向传播

在ensp上做多出口服务器映射

一个老开源人的自述-如何干好开源这件事

锁-ReentrantLock

Feedforward and backpropagation
随机推荐
C language question brushing | input a number and output the corresponding value (13)
Opencv daily function histogram correlation (3)
Express bird of Express query demonstration code (php+curl)
逻辑回归和线性回归
Common SQL statements in MySQL
Volumedetect of ffmpeg
模板引擎,让交互变得优雅
IS_ERR()
稀疏数组^创建^还原^存盘^取盘--全家桶
PHP seven methods to obtain complete instances of file name suffixes [collect]
[node] node+ SMS API to realize verification code login
See how much volatile you know
Two threads execute i++ 100 times respectively, and the possible values obtained
5道面试题,拿捏String底层原理!
C language question brushing | three item operation to realize capital judgment (16)
list_ head
Embedded development terminology concept summary
Map三种遍历方式,秒懂,你懂
[detailed explanation] point multiplication and cross multiplication of neural network matrix (pytorch version)
Unicode characters / static non static access