Users Flashcards
Where is the location of passwords?
/etc/shadow
Where is the location of all system and user accounts stored?
/etc/passwd
What is the location of all groups stored on the system?
/etc/group
What is the command to add a user?
useradd
i. e user add -m -d /home/newuser newuser
* -m copies items to user from /etc/skel
What is the command to remove a user?
userdel
What denotes a user not having the functionality to sign in located at /etc/shadow?
*
What denotes a user being blocked from sign in located at /etc/shadow?
! before hashed password
What is the directory that contains items that will be copied to a user profile?
/etc/skel
i. e useradd -m
* -m copies items to user from /etc/skel
What is the command to set a password for a specific user?
passwd
What is the command to lock a user account?
usermod -L
What is the command to unlock a user account?
usermod -U
What constitutes the information found in /etc/passwd?
username: passwdplaceholder:userid:groupid:additionalinfo:homedirectory:defaultshell
luke: x:1000:1000:luke,,,:/home/luke:/bin/bash
* password are now stored in /etc/shadow