Bash #12 - Managing users & groups

Published: 05 March 2022
on channel: itvraag
361
11

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
https://itvraag.nl

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:
Bash #1 - basic concepts:    • Bash #1 - Basic concepts and requirem...  
Bash #9 - Fish:    • Bash #9 - Fish shell on WSL2/Ubuntu  

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


Watch video Bash #12 - Managing users & groups online, duration hours minute second in high quality that is uploaded to the channel itvraag 05 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 361 times and liked it 11 visitors.