PAUSE
ENCORE
BOX
LESSON REVIEW
QPR1
1. Which of the following is NOT a good method for controlling
system security?
a controlling logins with the /etc/passwd file
b controlling access to certain directories with /etc/group
c controlling default file protections for sensitive files
d giving the root password to only a few trusted friends
e restricting write permission in sensitive directories
f encrypting files
g setting up a restricted shell - rsh
QPR2
2. The ___________ command looks at the password file
to check for any inconsistencies.
QPR3
3. What is the best way to control the security of the
/usr/lib/uucp directory?
a write protect it
b encrypt the files in it
c remove uucico from the /usr/lib/uucp directory
QPR4
4. Enter the umask command that will remove write and execute
permissions for others and leave read, write and execute
permission for the owner and members of the owners group.
QPR5
5. Which of the following commands does not have setuid privilege?
a -rws--x--x 1 root 58368 /usr/ucb/lpq
b -rwx--x--x 1 root 55296 /usr/ucb/lprm
c -rws--x--x 1 root 51200 /usr/ucb/lpr
d ---s--x--x 1 uucp 54272 /usr/bin/uucp
QPR6
6. Enter the command to change the following executable
file to one with setuid privilege:
-rwx--x--x 1 root 55296 /usr/ucb/lprm
QPR7
7. The syntax for the crypt command is:
crypt key < file > newfile
Enter the command to encrypt the file priority with the
encryption key WXYZ and the new file name PRIORITY.
QPR8
8. The command crypt < PRIORITY will decrypt the file
PRIORITY and print it on your screen if you enter the
correct key.
true or false?
QPR9
9. The restricted shell will allow which of the following:
a using cd to change directories
b changing the shell variable PATH
c using commands containing /
d reading files in the users home directory
e redirecting output with > and <
QPR10
10. To limit the user owen to the restricted shell, which
file would include the following PATH?
.:/usr/rbin:/usr/owen/bin
RINTER
______________________________________________________________________________
$PRMT_STR$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
$F_DIAG_L1$
$F_DIAG_L2$
$F_DIAG_L3$
$S_DIAG_L1$
$S_DIAG_L2$
$S_DIAG_L3$
$REV_STR1$
$REV_STR2$
FORGET1
The correct answer is: $ANSWER$
GO