Additional User Commands

How to list your current existing user accounts ?

You can do that by enetring the following command-

VirtualPrivateServer$users

How to delete a user account ?

You can do that by enetring the following command-

jrjgio ut ig s]-sr soijgf ofijg fspo sfho sfpogf i sioh gskj sfojg spgj gfipgknfh ofmh [ofj hdrjrs y[po [pfuigh poj troj ojty rotjy rtoj yojrty [aoeitj jrt[r[ou [jg ojt ietio t jt [ert eootietu ut [etu [ertio iou ioeut eiotu [rt eryt9ert8 e9t8eyt eortj fgux fih f g stou rstus tyury ruyr tyurty rtuo r t r 2i0 24i 2t5 ei y yi ersiuaerp9ut t aiot idfih[o erw 8y[9tr 8y9 atr 8iy9o 9aerrrrrrrrrrrrrVirtualPrivateServer$deluser username

How to give a user sudo access or superuser previllages ?

You can do that by enetring the following command-

VirtualPrivateServer$su - username

How would you know if theres a user that has logged and what they are doing at command execution time ?

You can do that by enetring the following command -

VirtualPrivateServer$w

Output – >
demouser    pts/0    192.168.1.6  14:10   3:24m    2.15s    0.00s dbus-launch --auto  
root        pts/1    192.168.1.6  14:51   1:41m    0.16s    0.00s pager -s                     
nixcraft    pts/2    192.168.1.6  14:52   13:07    0.41s    0.02s vi /etc/passwd               
root        pts/3    192.168.1.6  17:21   3.00s    0.12s    0.01s w -h