Shared Flashcard Set

Details

Linux System Administration
Linux System Administration Quiz 2
32
Computer Science
Undergraduate 1
04/03/2012

Additional Computer Science Flashcards

 


 

Cards

Term

A file can have many owners but only one group.

True or False?

Definition
False
Term

Which is NOT an essential duty required to shut down the system?


a) Kill nonessential services
b) Start new processes
c) Log the shutdown
d) Wait for filesystem writes to complete

 
Definition

 

 

 

 

b) Start new processes

Term
GRUB loads the Linux kernel from this directory.
Definition
 
 
 
 
/boot
 
Term

Most processes inherit the current directory of the process that started them.

 

True or False?

Definition
True
 
Term
Setting the default runlevel to 6 would
Definition
Cause the computer to continuously reboot.
 
Term
This command will lock a user account.
Definition
usermod -L
 
Term

On CentOS /usr/sbin/adduser is just a symbolic link to /usr/sbin/useradd.

True or False?

Definition
 
 
True
 
Term
This is the default user shell on CentOS and most other Linux distributions.
Definition
/bin/bash
 
Term
When the kernel runs a program that has its "setuid" or "setgid" bit set it....
Definition
Changes the effective UID or GID to the file containing the program image
 
Term
On current Linux systems user passwords are stored in this file.
Definition
 
 
 
/etc/shadow
 
Term
This command on CentOS adds or removes startup scripts, manages the run levels at which they operate and lists the run level for which a script is configured.
Definition
chkconfig
 
Term
Startup scripts are found in this directory
Definition
/etc/init.d
 
Term
If you must edit the /etc/passwd by hand you should use this program to prevent file corruption.
Definition
vipw
 
Term
This is the default boot loader for most UNIX and Linux systems with Intel processors.
Definition
GRUB
 
Term

Which is NOT a shortcoming of the traditional UNIX access control model

a) If the root account is comprised the integrity of the system is violated
b) is not supported by all Unix and Linux variants
c) Minimal support for auditing
d) Redefining system behavior requires modifying source code
 
 
 
Definition
b) is not supported by all Unix and Linux variants
 
Term
To change the default length of time that passwords are valid you would edit this file.
Definition
 
/etc/login.defs
 
Term
Traditionally, groups are defined in this configuration file.
Definition
/etc/groups
 
Term

Under a mandatory access control system users can set access control parameters on the objects they control.

 

True or False?

Definition
False
 
Term
Name that location:

 

Kernel and files needed to load the kernel

Definition
/boot
Term
Name that location:

Critical startup and configuration files

Definition
/etc
Term
Name that location:
Default home directories for users
Definition
/home
Term
Name that location:
Information about all running processes
Definition
/proc
Term
Name that location:
Mount points for filesystems on removable media
Definition
/media
Term
Name that location:
Core operating system commands
Definition
/bin
Term
Name that location:
Various system log files
Definition
/var/log
Term

PAM helps answer the question, "How do I know this is really jstudent?"

True or False?

Definition
True
Term
To attach your USB key manually to the filesystem hierarchy you would use this command.
Definition
mount
 
Term
Cancel a pending shutdown.
Definition
shutdown -c
Term

The su command is only used to login as root.

True or False?

Definition
False
Term
When a user's account is locked this character appears in front of the password field in the /etc/shadow file.
Definition
!
Term
This command will lock a user account.
Definition
usermod -L
Supporting users have an ad free experience!