Self Test


The following questions will help you measure your understanding of the material presented in this chapter. As no multiple choice questions appear on the Red Hat exams, no multiple choice questions appear in this book. These questions exclusively test your understanding of the chapter. It is okay if you have another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams. There may be more than one answer to many of these questions.

User Account Management

1. 

What's the standard minimum user ID number for regular users on Red Hat distributions?

___________________________________________________

image from book

2. 

What command at a GUI-based text console starts the Red Hat User Manager?

___________________________________________________

image from book

Answers

1. 

The minimum user ID number for regular users on Red Hat distributions is 500. It's 100 on many other Linux distributions.

2. 

The command in a GUI-based text console that starts the Red Hat User Manager is system-config-users.

The Basic User Environment

3. 

If you want to add files to every new user account, what directory should you use?

________________________________________________

the directory of files that is automatically added to every new user account is /etc/skel.

Answers

3. 

The directory of files that is automatically added to every new user account is /etc/skel.

Shell Configuration Files

4. 

The system-wide file associated with the bash shell is _________________.

the system-wide configuration file associated with the bash shell is /etc/bashrc.

Answers

4. 

The system-wide configuration file associated with the bash shell is /etc/bashrc.

Setting Up and Managing Disk Quotas

5. 

You are running an ISP and provide space for users' Web pages. You want them to use no more than 40MB of space, but you will allow up to 50MB until they can clean up their stuff. How could you use quotas to enforce this policy?

Set the hard limit to _________________________

Set the soft limit to __________________________

Enable grace periods with the following command:_____________________

image from book

6. 

If you wanted to configure quotas for every user on the /home directory, you'd add the following option to the /home directory line in /etc/fstab:

  • ____________________________________________

image from book

Answers

5. 

Set the hard limit to 40MB; set the soft limit to 50MB. You can set these limits on user1 with the edquota -u command; once created, you can apply them to all users with the following command:

 # edquota -p user1 `awk -F: '$3 > 499 {print $1}' /etc/passwd` 

Then if you want to enable grace periods for all users, run the edquota -t command.

6. 

If you wanted to configure quotas for every user on the /home directory, you'd add the usrquota option to the /home directory partition directive in /etc/fstab.

Creating and Maintaining Special Groups

7. 

What command would set the SGID bit on the /home/developer directory?

___________________________________

image from book

8. 

When creating a special group, should you use the default Group ID for a regular user?

____________________________________

image from book

Answers

7. 

There are two different commands available to set the SGID bit on the /home/developer directory. If that's all you want to do, run the following command:

 # chmod g+s /home/developer 

Alternatively, if you're also assigning full user and group permissions to /home/developer, you could run the following command:

 # chmod 2770 /home/developer 

8. 

When creating a special group, you should not use the default Group ID for a regular user, unless you want to allow others in the group access to all files of that user.

Pluggable Authentication Modules

9. 

What are the four basic Pluggable Authentication Modules types?

______________

______________

______________

______________

image from book

10. 

You are editing the PAM configuration file by adding a module. Which control flag immediately terminates the authentication process if the module succeeds?

_______________

image from book

Answers

9. 

The four basic Pluggable Authentication Modules types are: auth, account, password, and session.

10. 

You are editing the PAM configuration file by adding a module. The sufficient control flag immediately terminates the authentication process if the module succeeds.

Network Authentication Configuration: NIS and LDAP

11. 

What two pieces of information do you need to connect to an NIS server?

____________________

____________________

image from book

12. 

If your domain is example.org, what is your LDAP Search Base DN?

dc=____________________

dc=____________________

if your ldap domain is example.org, your ldap search base dn is dc=example, dc=org .

Answers

11. 

The two pieces of information you need to connect to an NIS server are the NIS domain name and NIS server (IP address or FQDN).

12. 

If your LDAP domain is example.org, your LDAP Search Base DN is dc=example, dc=org.



RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302)
Linux Patch Management: Keeping Linux Systems Up To Date
ISBN: 0132366754
EAN: 2147483647
Year: 2004
Pages: 227
Authors: Michael Jang

Similar book on Amazon
Linux Quick Fix Notebook
Linux Quick Fix Notebook
Self-Service Linux: Mastering the Art of Problem Determination
Self-Service Linux: Mastering the Art of Problem Determination
RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press)
RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press)
Security Strategies in Linux Platforms and Applications (Information Systems Security & Assurance)
Security Strategies in Linux Platforms and Applications (Information Systems Security & Assurance)

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net