Description | Command |
---|---|
Add a group | groupadd groupname |
Add a user | adduser peter |
Add a user | useradd -c “Peter Roux” - g admin -m peter # Add user peter |
Delete a user | userdel peter |
Display information on a user | finger user |
Display who is logged in | w |
Display who you are logged in as | whoami |
Modify user information | usermod peter |
Show the active user id with login and group | id |
Show last logins on the system | last |
Show who is logged into the system | who |