Login as new user
- Once logged in, let’s confirm from command line who I really am! In terminal type in the following
Take note of [email protected] prompt. That also confirms who you are.
- And let’s check my group affinity, type in the following in terminal:
Looks good to me so far.
I am part of user1 group (my primary) and sudo group. That means I can run privileged commands or just become root myself if required.
- Become root!
sudo su –
and type in user1’s password to become root.
- Lets confirm that using whoami command
So far so good. Now how do you delete a user?