Lab 14.2 Part I Create a basic chroot environment 1. Create a directory named /home/jail-yourinitials 2. Copy all of the files necessary to run bash, ls and vi to the appropriate subdirectories under the /home/jail-yourinitials directory 3. Use the chroot command to change your root directory to /home/jail-yourinitials 4. Verify the root directory has changed by typing pwd 5. Verify that the ls command works by typing the command ls 6. Verify that the vi command works by typing the command vi -L * The vi program will only be partially functional in this environment

This is the end of the preview.
Sign up
to
access the rest of the document.

Unformatted text preview: 7. Take a screen shot of this and submit it to the class web site ( Example <. ./images/Ch14-2-1.jpg> ) Part II Work with system limits 1. Create a user named limit-yourinitials 2. Modify the system's configuration so that the user limit-yourinitials is limited to a single simultaneous login 3. Login as the user limit-yourinitials 4. Attempt to open a second session with the command su -limit-yourinitials 5. Take a screen shot of the error message and submit it to the class web site ( Example <. ./images/Ch14-2-2.jpg> )...
View
Full Document