Server Admin Chapter 10

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/56

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:11 PM on 10/17/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

57 Terms

1
New cards

CUPS

Common UNIX Printing System

2
New cards

IPP

Internet Printing Protocol. Used by CUPS for network printing.

3
New cards

lp command

Sends a print job to a printer

4
New cards

lp -d command

Specifies the destination printer name. If omitted, the default printer is assumed.

5
New cards

CPUS Daemon (cupsd)

Assigns the print job a unique print job ID (spooling)

6
New cards

lpstat -t command

Line printer statistics. Lists all printers and their status.

7
New cards

cupsaccept command

Instructs the printing system to accept print jobs to specified destinations

8
New cards

cupsreject command

Instructs the printing system to reject print jobs to specified destinations

9
New cards

cupsenable command

Starts the named printers

10
New cards

cupsdisable command

Stops the named printers

11
New cards

cupsenable/disable -r command

Indicates a reason for enabling or disabling a named printer

12
New cards

cancel command

Removes print jobs from print queue

13
New cards

cancel -u command

Removes all the jobs sent by a specified user

14
New cards

lpadmin command

Controls or restricts which users can access specific printers

15
New cards

Line Printer Daemon (LPD)

Traditional printing system (this was replaced by CUPS)

16
New cards

lpr command

Line printer remote. Sends documents to a print queue

17
New cards

lpc command

Line printer control. Displays the status of printers

18
New cards

lpq command

Displays print jobs in the print queue

19
New cards

lprm command

Removes print jobs

20
New cards

CUPS vs LPD

CUPS is used in modern versions of Linux. It is more robust and feature rich. It supports LPD and contains versions of the lpd commands.

21
New cards

Which file contains information about each printer installed on the system?

/etc/cups/printers.conf

22
New cards

Which file contains the settings for cupsd?

/etc/cups.cupsd.conf

23
New cards

What is the address for the CUPS web admin tool?

http://servername:631

24
New cards

Printer Classes

CUPS allows you to configure collections of printers that can be used as a single unit (class). A print job is sent to the first available printer.

25
New cards

What are the most common logging daemons on Linux systems?

System log daemon (rsyslogd) and Systemd Journal Daemon (journald)

26
New cards

Syslogd logging format

facility.priority

27
New cards

Facility

Area of the system to listen to

28
New cards

Priority

Refers to the importance of the info

29
New cards

Systemd Journal Daemon (journald)

Replaces the system log daemon on Linux

30
New cards

journalctl command

Used to view events within journald. journald creates a socket at /run/systemd/journal/dev-log

31
New cards

logrotate command

Back up and clear log files from entries stored in /etc/logrotate.conf

32
New cards

/etc/password

Contains user account information

33
New cards

/etc/shadow

Contains encrypted password and expiration info

34
New cards

Format of /etc/password

name:password:UID:GID:GECOS:homedirectory:shell

35
New cards

Which intervals can passwords be set to for expiration?

Min, max, and warn

36
New cards

Min

Indicates the num of days a user must wait before changing their password

37
New cards

Max

Indicates the num of days a user can use the same password without changing it

38
New cards

Warn

Indicates the num of days a user has to change their password before it expires

39
New cards

useradd command

Creates a user account

40
New cards

Most new user info comes from which two files?

/etc/login.defs and /etc/default/useradd

41
New cards

Skeleton Directory

/etc/skel. Contains files that are copied to all new users' home directories when created

42
New cards

usermod command

Modify user account information

43
New cards

chage command

Modify password expiration information

44
New cards

Usermod -L username command

Locks an account

45
New cards

passwd -l username command

Locks an account

46
New cards

chsh command

Changes default shell to a non-interactive program (also locking a user account)

47
New cards

userdel command

Deletes a user account

48
New cards

userdel -r command

Removes the home directory for the user and its contents

49
New cards

What happens to files that were previously owned by a user who has been deleted?

The UID stays the same, but any future user that is given the same UID will own the files.

50
New cards

groupadd command

Adds groups

51
New cards

groupadd -G command

Adds members to a group

52
New cards

Which file is used to edit groups for a user?

/etc/group

53
New cards

groupmod command

Modifies the group name and GID

54
New cards

groupdel command

Removes a group from the system

55
New cards

usermod -aG group1 maryj

Adds maryj to group 1 (-aG preserves the members' existing group memberships)

56
New cards

id command

Displays a list of GIDs for each group

57
New cards

newgrp command

Temporarily changes the primary group to another group

Explore top flashcards