Questions 1
Questions 1
admin.F5demo.com
https://udf.f5.com/courses
QUESTIONS
CONFIGURE SELINUX.
Configure the selinux mode of your system as enforcing.
CONFIGURE YUM.
Configure your machine such that you are able to download exam softwares from
http://content.example.com/rhel7.0/x86_64/dvd/
CONFIGURE NTP.
Configure your machine to be a NTP client of classroom.example.com
CREATE USERS.
Create the following users:
Create a group sysadmin.
Create a user alice who has sysadmin as a supplementary group.
Create a user harry who also has sysadmin as his supplementary group.
Create a user joy who does not have an interactive shell.
LVM CRREATION.
Create a logical volume with 20 extents where one extend having the size of 16MiB.
The logical volume has the name of database and volume group have the name of
datastore.
The logical volume should be mounted under the directory /mnt/database with a file
system of ext3 and should be automatically available on reboot.
COPY FILE.
Copy the file /etc/passwd to /var/tmp/passwd.
The file should belong to the user root and group root.
The user alice should be able to read and write on the file.
The user harry should neither read nor write on the file.
All other users should have read permission on the file.
CREATE DIRECTORY.
Create a directory /mnt/data.
The user alice and harry should be able to collaberatively work on this directory.
The files and directories created within this directory should automatically belong
to the group sysadmin.
All members of the group should have read and write access.
All other users should not have any permissions.
Note: By default, root user will have read and write access on all files and
directories.
UPDATE KERNEL.
Update your kernel from http://content.example.com/rhel7.0/x86_64/errata/
CRON JOB.
Alice must set a job to run at 14:05 every day and the job is /bin/echo hi
CREATE USER.
Create a user ipsr with used id 3345.
SWAP PARTITION.
Create a swap partition of 256M and should be automatically available on reboot.
LOCATE FILES.
Find all files owned by the user root and group mail, copy the output files to
/root/findings.
SEARCH WORDS.
Display the matches for the words which begin with "ns" in the
/usr/share/dict/words and save the output to a file /home/student/locate.txt.
AUTOFS.
The home directory of LDAP users are shared via NFS.
The classroom.example.com (172.25.254.254)shares home directory of ldapusers via
NFS.
Mount /home/guests/ldapuserX to your system, where x is your foundation number.
The ldapuserx's home directory is at classroom.example.com:/home/guests/ldapuserx.
The ldapuserx's home directory should be automounted locally beneath /home/guests.
The home directories must be writable by their users.
LVRESIZE.
Resize the logical volume 'm7_storage' to 900M which belongs to the volume group
'vgroup'.
BACKUP FILES.
Create an bzip2 archive /root/today_backup.tar.bz2 which stores the backup of
/etc .