Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1:

What file contains the list of network port numbers and protocol types for network services?

2:

How would you add the user you to the wheel group?

3:

How would you assign the following permissions to a file called myfile.txt using chmod's numeric mode: user read, user write, user execute, group read, group executeand nothing further?

4:

What timeout values would you assign to TMOUT and autologout to cause inactive users to be logged out after an hour?

Answers

A1:

/etc/services

A2:

gpasswd -a you wheel

A3:

chmod 750 myfile.txt

A4:

TMOUT=3600 set autologout=60

Activities

  1. Create a wheel group on your computer and implement the security techniques related to wheel discussed in this chapter.

  2. Add users who should have access to the su command to the wheel group.

  3. After configuring your system for a login timeout, try logging in remotely and waiting until you are automatically logged out to ensure that the timeout value works.



    SAMS Teach Yourself Red Hat(r) Fedora(tm) 4 Linux(r) All in One
    Cisco ASA and PIX Firewall Handbook
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 311
    Authors: David Hucaby

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