id man command print real and effective user (UID) and group IDs (GID).
id
id USERNAME
id -nG
id -un
groups
cat /etc/group
useradd
usermod
id, ssh-copy-id
chown
chgrp
chmod
stat
USER
sudo
visudo
userdel
passwd
groupadd
groupdel
sudo --help
Advertising: