useradd
groupadd
userdel
groupdel
usermod
groupmod
id
who
passwd
w displays information about the users currently on the machine, and
their processes.
$ w
03:15:18 up 1:47, 7 users, load average: 0.51, 0.88, 1.03
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
RHHLab tty2 01:28 1:46m 0.12s 0.12s /usr/bin/startplasma-wayland
RHHLab pts/0 01:28 1:46m 0.00s 1.49s /usr/bin/kded5
RHHLab pts/1 01:28 1:40m 1.66s 1.53s /usr/bin/zsh
RHHLab pts/2 01:35 1:34m 2.84s 2.34s /home/RHHLab/anaconda3/bin/pyth
RHHLab pts/3 01:35 53.00s 1.95s 1.78s /usr/bin/zsh
RHHLab pts/4 01:35 1:40m 0.65s 0.53s /usr/bin/zsh
RHHLab pts/5 01:35 1:40m 0.63s 0.52s /usr/bin/zsh
su --root
#switch user/ superuser [su]
/etc/sudoersvisudo command should be used to change /etc/sudoers file. It is recommended to not touch the file untill needed!
© Copyright © All rights reserved | Rakib H. Hridoy