linux basics (users / groups)
Summary of how to check users and groups on Linux
--User
--List
/etc/passwd
Extract user name
cut -d: -f1 /etc/passwd
--Information change
usermod
- Change Password
passwd
- add to
useradd
- Delete
userdel
--Group
--List
/etc/group
Extraction of group name
cut -d: -f1 /etc/group
--Information change
groupmod
- add to
groupadd
- Delete
groupdel
--Password change (root)
sudo su
passwd root