Integrating you Infrastructure Security Week 2 Flashcards
(10 cards)
Which file contains information about each user, such as their home directory and shell?
/etc/passwd
Which command is used to update the package lists for upgrades?
apt update
What is the primary source list file for repositories?
/etc/apt/sources.list
Which permission allows a user to run a file as a program?
Execute
What is the default port for Apache2?
80
The default port for Apache2 is 80 for HTTP traffic.
The systemctl command is part of the systemd management framework.
True
The systemctl command is indeed part of the systemd management framework, providing a unified interface for controlling systemd services.
Which command is used to install a new package?
apt install
Which command is used to add a new group?
Both a and b
The top command can only display system statistics, but cannot manage processes.
False
What does the chmod command do?
Change file permissions.