System Fundamentals Flashcards
(97 cards)
System admin
root
USed to determine sudo privileges
etc/sudoers
sudoers drop in directory used to organize configurations
etc/sudoers.d
open ssh daemon config file
etc/ssh/ssh_config
Used to disable root logins
etc/ssh/ssh_config
Used to edit suoders file
visuo
provides a lock against simultaneous edits, provides basic sanity checks and checks for parse errors
visudo
Allows a user to execute a command as the superuser or another user using -u
sudo
allows users to run commands with a substitute user and group id
su
what commands used with u will start the shell as a login shell with an environment similar to a real login shell
-l and -login
What options run with sudo will execute an interactive shell if no command is specified
-i -login
Collect report and save system activity info
sar
provided by systat
sar
creates a binary file for each day of the month
sa01
Sar daily summary file format
sar01
systat must be started in order for this command to run and collect data
sar
Duration of sar collection can be changed in which file
etc/cron.d/systat
option for sar to extract records from a file name
-f
option for sar to report memory utilization
-r
option for sar to report cpu utilization
-u
report virtual memory statistics as well as stats on paging and block i/o
vmstatd
Default start prints summary of usage statistics since last reboot
vmstat
can run on an interval with a count or continuously
vmstat
option for vmstat to display a table of memory stats
-s