Users & Groups Flashcards
What are the different user types?
standard (admin/non-admin)
root
system
What is the linux command to get information about a user?
id
What is the linux command to see what logged in users are doing?
w
What is the linux command to see what users are logged in?
who
What is the linux command to run with root privileges?
sudo
substitute user do
What is the location of password credentials?
/etc/shadow
What is the location of groups belonging to a user?
/etc/group
What is one way to centrally view all system and user accounts?
/etc/passwd
user: homedirectory
* can see all system accounts in this file
What is the linux command to create/delete a user?
useradd
userdel
What is the linux command to create/delete a group?
groupadd
groupdel
What is the linux command to modify an existing user?
usermod
What is the linux command to view user login history?
last