Mod 9-10
Where are individual user tasks scheduled to run with the cron daemon stored on a Fedora system?
/var/spool/cron/username
Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation?
/etc/login.defs
Along with a listing of user accounts, the /etc/passwd file contains information on account expiry. True or False?
FALSE
To kill a process running in the background, you must place a % character before its process ID. True or False?
FALSE
UIDs and GIDs are unique to the system and, once used, can never be reused. True or False?
FALSE
You can clear a log file simply by redirecting nothing into it. True or False?
TRUE
You can lock a user account by changing the default login shell to an invalid shell in /etc/passwd. True or False?
TRUE
How can you bypass the wait function and send a user process to the background?
This cannot happen; only daemon processes can run in the background.
Which command can be used to temporarily alter the primary group associated with a given user?
newgrp
Every process has a process ID and a_______.
parent process ID
Which command entered without arguments is used to display a list of processes running in the current shell?
ps
The at command is used to _______________.
schedule processes to run at a single instance in the future
Which command is used to gain real-time information about processes running on the system, with the most processor-intensive processes listed at the beginning of the list?
top
Which command is used to delete a user account?
userdel username
Nice values are used to affect process priorities using a range between _____________.
�20 and 19
The pkill command terminates _________.
all instances of a process with the same name matched by a regular expression
What is the term used to describe a user providing a user name and password to log in to a system?
authentication
Which process has a PID of 1 and a PPID of 0?
init/systemd
What is the name of the utility used to rotate log files?
logrotate
Which command can be used to send a print job to the default printer named Printer1?
lp file