当前位置:网站首页>Debian10 create users, user groups, switch users
Debian10 create users, user groups, switch users
2022-06-23 01:26:00 【Halyace】
# New user group
groupadd hausers
# Create a new user and join the user group
# -m Create user home directory automatically
# -g Join user groups
# -s User login shell
# -d User home directory
useradd hauser -m -g hausers -s /bin/bash -d /home/hauser
# Set the password
passwd hauser
# Set user permission sudo
/sbin/usermod -aG sudo hauser
# Switching users
su -l hauser
边栏推荐
- Read Amazon memorydb database based on redis
- 总体标准差和样本标准差
- [hdu] p1466 calculate the number of intersections of straight lines
- B tree and b+ tree
- The devil cold rice # 099 the devil said to travel to the West; The nature of the boss; Answer the midlife crisis again; Specialty selection
- 使用aggregation API扩展你的kubernetes API
- Psychological analysis of the safest spot Silver
- SAP ui5 application development tutorial 102 - detailed trial version of print function implementation of SAP ui5 application
- Cadence spb17.4 - Allegro - optimiser la spécification de l'angle de connexion de la polyligne pour une seule ligne électrique - polyligne à arc
- Voice network multiplayer video recording and synthesis support offline re recording | Nuggets technology solicitation
猜你喜欢

New progress in the construction of meituan's Flink based real-time data warehouse platform

Cadence spb17.4 - Allegro - optimize and specify the polyline connection angle of a single electrical line - polyline to arc

Explain the startup process of opengauss multithreading architecture in detail
![[hdu] P6964 I love counting](/img/ff/f8e79d28758c9bd3019816c8f46723.png)
[hdu] P6964 I love counting

How to refine permissions to buttons?

Charles garbled code problem solving

How to set the power-off auto start of easycvr hardware box

SQL programming task03 job - more complex query
![[learning notes] roll back Mo team](/img/19/d374dd172b9609a3f57de50791b19e.png)
[learning notes] roll back Mo team

Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + commercial realization
随机推荐
[initial launch] there are too many requests at once, and the database is in danger
【机器学习-西瓜书】更文挑战【Day1】:1.1 引言
SQL programming task04 job - set operation
Charles garbled code problem solving
[Luogu] P2887 Sunscreen G
SQL programming task06 assignment - Autumn recruit secret script ABC
cadence SPB17.4 - allegro - 优化指定单条电气线折线连接角度 - 折线转圆弧
"Hearing" marketing value highlights, Himalaya ushers in a new situation
JS prevent the PC side from copying correct links
The devil cold rice # 099 the devil said to travel to the West; The nature of the boss; Answer the midlife crisis again; Specialty selection
How to calculate the position of gold ETF
JS to read the picture of the clipboard
Vscade personalization: let a cute girl knock the code with you
[hdu] P7079 Pty loves lines
SAP ui5 application development tutorial 103 - how to consume third-party libraries in SAP ui5 applications
使用aggregation API扩展你的kubernetes API
Pat class A - 1015 reversible primes
a++,++a,!,~
Tidb monitoring upgrade: a long way to solve panic
Shell logs and printouts