We are proud of our high-quality and fantastic value Red Hat Red Hat practice components. Because we now have got high passing rate given that we commenced. Most of our customers get got through the Red Hat RH302 true test along with made remarkable achievements. Thus we assure that you may also help to make wonderful success provided that you get full advantage of Exambible Red Hat certification simulated tests.


♥♥ 2021 NEW RECOMMEND ♥♥

Free VCE & PDF File for Red Hat RH302 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW RH302 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/RH302-exam-dumps.html

2021 Apr RH302 rapidshare

Q31. CORRECT TEXT

If any mail coming from outside of the local LAN block all mails.

Answer and Explanation:

Outside the LAN means my133t.org. All host on exam on example.com domain and outside domain means cracker.org.

To block the mail coming from cracker.org

1. vi /etc/mail/access

@my133t.org REJECT

2. service sendmail start | restart

3. chkconfig sendmail on


Q32. CORRECT TEXT

There are some part-time staff in your office. And you gave the username user9 and user10 to them. Their Office time is 12-2pm on Sunday, Monday and Friday. Configure to login only on their office time.

Answer and Explanation:

1. vi /etc/security/time.conf

login;*;user9|user10;SuMoFri1200-1400

2. vi /etc/pam.d/login

account required pam_time.so

For Time based authentication, we should configured in /etc/security/time.conf

Syntax of /etc/security/time.conf

services;ttys;users;times

services

is a logic list of PAM service names that the rule applies to.

ttys

is a logic list of terminal names that this rule applies to.

users

is a logic list of users to whom this rule applies.

times

the format here is a logic list of day/time-range entries the days are specified by a sequence of two character entries, MoTuSa for example is Monday Tuesday and Saturday. Note that repeated days are unset MoMo = no day, and MoWk = all weekdays bar Monday. The two character combinations accepted are

Mo Tu We Th Fr Sa Su Wk Wd Al

the last two being week-end days and all 7 days of the week respectively. As a final example, AlFr means all days except Friday.

pam_time modules checks the file /etc/security/time.conf for authentication. So, we should call the pam_time modules in /etc/pam.d/login.


Q33. CORRECT TEXT

Create the group named sysadmin.

Answer and Explanation:

1. groupadd sysadmin

groupadd command is used to create the group and all group information is stored in /etc/group file.


Q34. CORRECT TEXT

All mails to my133t.org should get by marion user.

Answer and Explanation:

3. vi /etc/mail/virtusertable

@my133t.org marion

# service sendmail restart

/etc/mail/virtusertable file is used to send the mail coming for virtual user to real user. According to question, all mail to cracker.org should get by eric user so

@my133t.org eric : Which sends all mail of cracker.org to eric user.


Q35. CORRECT TEXT

If root sends the mail to jane, mail should be send to /var/spool/mail/jane.

Answer and Explanation:

By default all mails to user will send to user's spool directory. Nothing to do.


Improve RH302 actual exam:

Q36. CORRECT TEXT

Any mail coming for accountmanager should get by jeff user.

Answer and Explanation:

1. vi /etc/mail/virtusertable

accountmanager@ jeff

2. service sendmail restart


Q37. CORRECT TEXT

User jeff should able to access the mail using IMAP over SSL

Answer and Explanation:

IMAP is a very usefully protocol, but it lacks encryption. The dovecot package distributed with RHEL includes the ability to use IMAP over SSL, This requires the creation of a PEM format certificate.cd /etc/pki/tls/ and remove the cert.pem.Go the /etc/pki/tls/certs then use:make dovecot.pem : Which generates the dovecot.pem certificate by reading MakeFileEnable the imaps with Certificate and Key file protocol from /etc/dovecot.conf

vi /etc/dovecot.conf

protocols = imap imaps

ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem

ssl_key_file = /etc/pki/dovecot/private/dovecot.pemservice dovecot restart : Restart the Dovecot

service


Q38. CORRECT TEXT

You are giving RHCE exam. Examiner gave you the Boot related problem and told to you that make successfully boot the System. When you started the system, System automatically asking the root password for maintenance. How will you fix that problem?

Answer and Explanation:

Maintenance mode also known as emergency mode. System boots on emergency mode when file system error occurred. It is due to unknown partition, bad filesystem specified in /etc/fstab. To slove follow the steps

1. Give the Root password

2. fdisk -l à Verify the Number of parations.

3. Identify the Root partition, e2label /dev/hda1, e2label /dev/hda2.....

4. Remount the root partation on rw mode: mount -o remount,defaults /dev/hda6 /

5. vi /etc/fstab

Correct all partitions, mount point, mount options, file system etc.

6. Press ctrl+d


Q39. CORRECT TEXT

You have ftp site named ftp.example.com. You want to allow anonymous users to upload files on you ftp site. Configure to allow anonymous to upload the files.

Answer and Explanation:

1. vi /etc/vsftpd/vsftpd.conf

anon_upload_enable=yes

chown_uploads=yes

chown_username=username

2. service vsftpd start| restart

3. directory owner should be ftp user: chown ftp directory path allowed to upload files.

4. Write permission should be set to owner user.

By default anonymous user can only download files from the ftp. Should write

anon_upload_enable=yes to enable anonymous upload files. Default Directory for anonymous is /var/ftp.


Q40. CORRECT TEXT

You have DHCP server, which assigns the IP, gateway and DNS server ip to Clients. There are two DNS servers having MAC address (00:50:FC:98:8D:00, 00:50:FC:98:8C:00), in your LAN, But they always required fixed IP address (192.168.0.254, 192.168.0.253). Configure the DHCP server to assign the fixed IP address to DNS server.

Answer and Explanation:

1. vi /etc/dhcpd.conf

ddns-update-style none;

option routers 192.168.0.1;

option domain-name "example.com";

option domain-name-servers 192.168.0.254;

default-lease-time 21600;

max-lease-time 43200;

subnet 192.168.0.0 netmask 255.255.255.0

{

range 192.168.0.1 192.168.0.254;

host dns1 {

hardware ethernet 00:50:FC:98:8D:00;

fixed-address 192.168.0.254;

}

host dns2 {

hardware ethernet 00:50:FC:98:8C:00;

fixed-address 192.168.0.253;

}

}

/etc/dhcpd.conf file is used to configure the DHCP. Some global options i.e Gateway,

domainname, DNS server specified using option keyword. To assign as static ip from dhcp server,

required the mac address of interface.

2. Check the SELinux Context, should be like this:

-rw-r--r-- root root system_u:object_r:dhcp_etc_t /etc/dhcpd.conf

3. Use the restorecon -R /etc command to restore the selinux context of the file.

4. service dhcpd start | restart