|
RedHat RH-202 Exam - CertifySky.com Free RH-202 Sample Questions:
1.Create the user named eric and deny to interactive login.
Answer:
1. useradd eric
2. passwd eric
3. vi /etc/passwd
4. eric:x:505:505::/home/eric:/sbin/nologin
2.Who ever creates the files/directories on /data group owner should be automatically
should be the same group owner of /data.
Answer:
chmod g+s /data
3.Create the directory /data and group owner should be the sysadmin group.
Answer:
chgrp sysadmin /data
4.Create the user named jane and john.
Answer:
1. useradd jane
2. useradd john
5. Fill up the Form through http://server1.example.com/form.php
Answer:
1. Open the Browser and type the above URL.
2. Fill the form as required all information.
6.By Default Scheduling on Cron allowed to all users. Deny to all users except root to
run cron schedule.
Answer:
vi /etc/cron.allow
7.One Package named zsh is dump on ftp://server1.example.com under pub directory.
Install the package from ftp server.
Answer:
1. rpm -ivh ftp://server1.example.com/pub/zsh-*
2. Package will install
8.Make sure on /data that only the owner user can removes files/directories.
Answer:
chmod o+t /data
9.Create the group named training
Answer:
1. groupadd training
10.Successfully resolv to server1.example.com where your DNS server is 172.24.254.254
Answer:
1. vi /etc/resolv.conf
nameserver 172.24.254.254
2. host server1.example.com |