5.1 Basic Security and Identifying User Types Flashcards
Security
all system-local user account POSIX other than pw readable by all
/etc/pswd
Security
all system-local group account POSIC readable by all
/etc/group
Security
all system-local user pw hashes and expiration info - unreadable by any - only select processes.
/etc/shadow
Security
all system-local priv escalation info/allowance by sudo command
/etc/sudoers
Security
list real or effective user and group IDs
id
Security
list users who logged in last
last
Security
list users who are currently logged in
who
Security
similar to who but with additional context
w
Security
switch to another user with a login shell or run commands as that user by passing that user’s pw
su
Security
switch User or Superuser Do - if entitled, the current user enters their own pw if required to raise priv
sudo
Security
change user’s shell
chsh
Security
change user’s info on the GECOS field
chfn
Security
The UID and GID attributes are stored
/etc/passwd
Security
The Groups attribute is stored
/etc/group
Security
where is the has user password stored
/etc/shadow