IST 190 EXAM 2 QUESTIONS AND ANSWERS
___________________ group membership is used to help ensure that users have
access permissions to files and other resources on the system. A user can have zero or
many _________________ group memberships. - Answers - Supplementary
____________ allows the output of a process to be manipulated and formatted by other
processes before it is output to standard out. - Answers - Pipelines
A ________ connects the standard output of the first command to the standard input of
the next command. - Answers - pipe
The __________ application is a full-featured text editor for the GNOME desktop
environment. - Answers - gedit
Match the special permissions on the left with the effect it has on directories on the
right:
Question
u+s (suid)
g+s (sgid)
o+t (sticky) - Answers - No effect
Files newly created in the directory have their group owner set to match the group
owner of the directory
Users with write on the directory can only remove files that they own
Match the file descriptors on the left with the correct statement the on the right:
Question
Standard input (channel 0) stdin
Standard output (channel 1) stdout
Standard error (channel 2) stderr
Channels 3 and higher - Answers - Keyboard, read only
Terminal, write only
Terminal, write only
, none, read and/or write
Match the correct command on the right with what is does on the left:
Question
Used to create a new supplemental group.
The _______ command allows a user to switch to a different user account. If a
username is not specified, the root account is implied.
The _________ command allows a user to be permitted to run a command as root, or
as another user, based on settings in the its configuration file.
Changes password aging. - Answers - groupadd
su
sudo
chage
The ____________ command will copy its standard input to its standard output and will
also redirect its standard output to the files named as arguments to the command. -
Answers - tee
The /etc/passwd file contains the majority of user data on RHEL7 and CentOS7 servers.
It is important that administrators know what is in this critical file. There are seven fields
(colon delimited) in each record (line) of this file. Match the field number below with the
information contained in that field:
Question
Field 1
Field 2
Field 3
Field 4
Field 5
Field 6
Field 7 - Answers - username
___________________ group membership is used to help ensure that users have
access permissions to files and other resources on the system. A user can have zero or
many _________________ group memberships. - Answers - Supplementary
____________ allows the output of a process to be manipulated and formatted by other
processes before it is output to standard out. - Answers - Pipelines
A ________ connects the standard output of the first command to the standard input of
the next command. - Answers - pipe
The __________ application is a full-featured text editor for the GNOME desktop
environment. - Answers - gedit
Match the special permissions on the left with the effect it has on directories on the
right:
Question
u+s (suid)
g+s (sgid)
o+t (sticky) - Answers - No effect
Files newly created in the directory have their group owner set to match the group
owner of the directory
Users with write on the directory can only remove files that they own
Match the file descriptors on the left with the correct statement the on the right:
Question
Standard input (channel 0) stdin
Standard output (channel 1) stdout
Standard error (channel 2) stderr
Channels 3 and higher - Answers - Keyboard, read only
Terminal, write only
Terminal, write only
, none, read and/or write
Match the correct command on the right with what is does on the left:
Question
Used to create a new supplemental group.
The _______ command allows a user to switch to a different user account. If a
username is not specified, the root account is implied.
The _________ command allows a user to be permitted to run a command as root, or
as another user, based on settings in the its configuration file.
Changes password aging. - Answers - groupadd
su
sudo
chage
The ____________ command will copy its standard input to its standard output and will
also redirect its standard output to the files named as arguments to the command. -
Answers - tee
The /etc/passwd file contains the majority of user data on RHEL7 and CentOS7 servers.
It is important that administrators know what is in this critical file. There are seven fields
(colon delimited) in each record (line) of this file. Match the field number below with the
information contained in that field:
Question
Field 1
Field 2
Field 3
Field 4
Field 5
Field 6
Field 7 - Answers - username