click below
click below
Normal Size Small Size show me how
Linux + Chapter 10
Chapter 10 Common Administrative Tasks
Question | Answer |
---|---|
the most common printing system used on Linux Computers. | CUPS - Common Unix Printing System |
a set of information sent to a printer at the same time. | print job |
the daemon responsible for printing in the CUPS printing system. | cupsd (cups daemon) |
a directory on the filesystem that holds print jobs that are waiting to be printed. | print queue |
If the printer is rejecting requests, the cups daemon prints an error message stating that the printer is not accepting jobs. | True |
the process of accepting print jobs into a print queue. | spooling or queuing |
the print queue for a printer. | /var/spool/cups |
a file that holds daemon configuration for the cups daemon. | /etc/cups/cupsd.conf |
the process of sending print jobs from a print queue to a printer. | printing |
the command used to view the contents of print queues and printer information in the CUPS printing system. | lpstat command |
the option that is used with lpstat to see a list of all printers on the system and their status. | -t (total) option |
the command used to allow print jobs to leave the print queue. | cupsenable command |
the command used to force a printer to reject jobs from entering the print queue. | cupsreject command |
the command used to prevent print jobs from leaving the print queue. | cupsdisable command |
the command used to allow a printer to accept jobs into the print queue. | cupsaccept command |
the option used with cupsdisable or cupsreject commands to identify a reason for the action. | -r option |
which option is used with the lp command to specify the destination printer name. | -d option |
lp specifies a certain print job ID to modify. | -i print job ID |
prints a certain number of copies, where number can be any number | lp -n number |
mails you confirmation of print job completion | lp -m |
specifies certain printing options | -o option |
specifies a print job priority from 1 (low priority) to 100 (high priority) | -q option |
Specifies a print job priority from 1 (low) to 100 (high). By default, all print jobs have a priority of 50. | -p option |
How to print a list of logged-in users with the lp command? | who | lp -d printer1 |
the command used to remove a print job that is in the print queue in the CUPS print system | cancel command |
shows whether the cups daemon (scheduler) is running | -r option |
the command used to perform printer administration in the CUPS printing system | lpadmin |
a printing system typically used on legacy Linux computers | LPD - Line Printer Daemon |
the command used to create print documents in the print queue in the LPD printing system | lpr command |
the command used to view the status of and control printers in the LPD printing system | lpc command |
the command used to view the contents of print queues in the LPD printing system | lpq command |
the command used to remove print jobs from the print queue in the LPD printing system | lprm command |
the command used to create print jobs in the print queue in the CUPS printing system | lp command |
the file that contains settings for cupsd | /etc/cups/cupsd.conf |
the file that contains the configuration information for each printer installed on the system | /etc/cups/printers.conf |
What are the two files that contain default values for user creation? | /etc/default/useradd; /etc/login.defs |
the file that contains user account information | /etc/passwd |
the file that contains the encrypted password as well as password and account expiry parameters for each user account | /etc/shadow |
a directory that contains files that are copied to all new users' home directories upon creation | /etc/skel |
the file that specifies the events for which the System Log Daemon listens and the log files to which it saves the events | /etc/syslog.conf |
a directory that contains most log files on a Linux system | /var/log |
the command used to remove print jobs from the print queue in the CUPS print system | cancel command |
the command used to allow a printer to accept jobs into the print queue | cupsaccept command |
the command used to prevent jobs from leaving the print queue | cupsdisable |
the command used to allow print jobs to leave the print queue | cupsenable |
the command used to force a printer to reject jobs from entering the print queue | cupsreject |
the area of the system from which information is gathered when logging system events | facility |
the field in the /etc/passwd file that contains a description of the user account | General Electric Comprehensive Operating System (GECOS) |
a unique number given to each group | GID - Group Identifier |
a log file containing information about the Linux system | log file |
the command used to perform printer administration in the CUPS printing system | lpadmin command |
the information sent to a printer for printing | print job |
a unique numeric identifier used to mark and distinguish each print job | print job ID |
a directory on the filesystem that holds print jobs that are waiting to be printed | print queue |
a template that can be used to apply settings to printers on a CUPS system | printer class |
a graphical utility used to configure printers on the system | Printer Configuration tool |
the importance of system information when logging system events | priority |
the process of accepting a print job into a print queue | spooling or queuing |
the daemon that logs system events to various logfiles via information stored in /etc/rsyslog.conf | System Log Daemon (rsyslogd) |
a naming convention that identifies hardware and software components using a two-part name that consists of a type followed by an identifier | Uniform Resource Identifier (URI) |
a unique number assigned to each user account | User Identifier (UID) |
a file that contains default values for user creation, such as e-mail, password expiration information, minimum password length, and the range of UIDs and GIDs available for use. | /etc/login.defs |
the command used to add a user account to the system | useradd command |
the file containing information regarding the default primary group, the location of home directories, the default number of days to disable accounts with expired passwords, the date to disable user accounts, the shell used, & the skeleton directory used | /etc/default/useradd |
a directory that contains files that are copied to all new users' home directories upon creation | /etc/skel |
a printer that accepts print jobs into the print queue | accepting printer |
the command used to modify the password associated with a user account | password command |
the command used to modify the properties of a user account on the system | usermod command |
the command used to change the GECOS for a user | chfn command |
the option that specifies a new description for the user in the GECOS field of etc/passwd | usermod -c "description" |
the option that specifies a new login name | usermod -l name |
the command used to modify password expiry information for user accounts | chage command |
the file that contains group definitions and memberships | /etc/group |
the command used to remove a user account from the system | userdel command |
the information regarding a user that is stored in a system database (/etc/passwd and /etc/shadow), which can be used to log in to the system and gain access to system resources | user account |
the command used to add a group to the system | groupadd command |
the command used to delete a group from the system | groupdel command |
the easiest way to add groups to a system | edit the /etc/group file using a text editor |
the option that specifies a new primary group for the user account | usermod -g group |
the option that specifies a new UID for the user account | usermod -u UID |
to make an account temporarily unusable by altering the password information for it stored on the system | lock an account |
the option used to lock an account | usermod -L username, which places a ! character at the beginning of the encrypted password field in the /etc/shadow file |
the option used to unlock an account | usermod -U username, which removes the ! character |
an alternative way to lock a user account | passwd -l username, places two !! characters at the beginning of the encrypted password field in the /etc/shadow file |
an alternative way to unlock a user account | passwd -u username, which removes the two !! characters |
the command used to rotate log files | logrotate command - typically uses the configuration information stored in /etc/logrotate.conf |
the command that lists UIDs for a user and the GIDs for the groups that the same user belongs to | id command |
the command that lists group membership for a user | groups command |
the command used to modify the name or GID of a group on the system | groupmod command |
the command used to change temporarily the primary group of a user | newgrp command |
the group that is specified for a user in the /etc/passwd file and that is specified as group owner for all files created by a user | primary group |
the command used to enable the use of the /etc/shadow file | pwconv command |
the command used to disable the use of the /etc/shadow file | pwunconv command |
a unique numeric identifier used to mark and distinguish each print job | print job ID |
a printer that does not accept print jobs into the print queue | rejecting printer |
a directory that contains files that are copied to all new users' home directories upon creation | skeleton directory |
the default skeleton directory on Linux systems | /etc/skel |