- Explain the passwd file (explain the format aswell)
- Explain the shadow file (explain the format aswell)
- Explain difference between the two
- Explain the group file (and format)
- Explain the gshadow file (and format)
- Example of pwck command + grpck command
- Example of using vipw and vigr instead of regular vi to prevent password corruption
-
Useradd/mod/del/change/passwd examples for modifying users
-
Useradd: -b (--base-dir, base dir for all home directories), -m (--create-home option), groups etc
-
the chage command (with examples): -d --lastday, --expiredate --inactive
-
chage -l chartwell option (display defaults)
-
login.defs files + /etc/default/useradd
-
changing defaults through useradd -D ...
- explain usermod, add examples of using the command.
- example of using groupadd/mod/del
- examples of su (touched on previously)
- examples of exiting sudoers file
- bashrc/profile etc
- examples of creating aliases