Bash #12 - Managing users & groups

preview_player
Показать описание
In this video we'll cover managing users and groups in Linux using an Ubuntu or Rocky Linux system, but this will work for other distros as well.
#terminal #usermanagement #linux #rockylinux #ubuntu

Timestamp:
0:00 Intro
0:22 Linux user & group management
1:08 My setup, Ubuntu & Rocky
1:30 Managing users with /etc/passwd
2:44 User ID definition
3:45 Account start shell/cmd
4:15 passwd manual
4:21 add user
4:37 passwords inside shadow file
5:46 managing groups with /etc/group
6:58 add group
7:08 id account
7:16 delete user with home dir

Related video:

Used commands:
hostnamectl
which $SHELL
cat /etc/passwd
man 5 passwd
sudo adduser itvraag
sudo cat /etc/shadow
cat /etc/group
sudo usermod -aG sudo itvraag
cat /etc/group | grep sudo
sudo addgroup marketing
sudo deluser itvraag --remove-home
Рекомендации по теме