You can download the Red Hat test engine for no cost after buying Pass4sure Red Hat Red Hat products. Our IT specialists are applying themselves for the success involving our customers. Pass4sure presents the original Red Hat RH302 test engine and the braindumps are generally corrected repeatedly before publishing in order to guarantee the accuracy. You can appreciate the Red Hat RH302 no cost updated practice questions which will become download automatically in your PC within one particular year soon after payment. We furthermore provide track services. We may deliver anyone the Red Hat RH302 newest study manual if there are some changes in the test syllabus throughout time.
♥♥ 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 Mar RH302 download
Q121. CORRECT TEXT
/storage directory on linux server should make available on windows to only Harold with full access but read only to other users and make sure that /storage can access only within example.com domain. Configure to make available.
Answer and Explanation:
1. vi /etc/samba/smb.conf
[global]
netbios name=station?
workgroup=station?
security=user
smb passwd file=/etc/samba/smbpasswd
encrypt passwords=yes
hosts allow= .example.com
[data]
path=/storage
public=no
writable=no
write list=harold
browsable=yes
2. smbpasswd -a harold
3. service smb start
4. chkconfig smb on
/etc/samba/smb.conf. There are some pre-defined section, i. global à use to define the global options, ii. Printers à use to share the printers, iii. homes à use the share the user's home directory.
Security=user à validation by samba username and password. May be there are other users also.
To allow certain share to certain user we should use valid users option.
smbpasswd à Helps to change user's smb password. -a option specifies that the username following should be added to the local smbpasswd file.
If any valid users option is not specified, then all samba users can access the shared data. By Default shared permission is on writable=no means read only sharing. Write list option is used to allow write access on shared directory to certain users or group members.
Q122. CORRECT TEXT
Configure to allow the pop3 and imap connection from your domain example.com
and cracker.org domain.
Answer and Explanation:
1. vi /etc/hosts.deny
dovecot:ALL EXCEPT .example.com, .cracker.org
We can secure the services using tcp_wrappers. There are main two files, /etc/hosts.allow and /etc/hosts.deny.
There will be three stage access checking
- Is access explicitly permitted? Means permitted from /etc/hosts.allow?
- Otherwise, Is access explicitly denied? Means denied from /etc/hosts.deny?
- Otherwise, by default permit access if neither condition matched.
To deny the services we can configure /etc/hosts.deny file using ALL and EXCEPT operation.
Pattern of /etc/hosts.allow and /etc/hosts.deny file is:
Demon_list:client_list:options
In Client list can be either domain name or IP address.
Q123. CORRECT TEXT
You are the Network Engineer of example.com domain. Configure to allow users user1, user2 and user3 to login only between 9am to 17pm on very day.
Answer and Explanation:
1. vi /etc/security/time.conf
login;*;user1|user2|user3;Al0900-1700
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.
Q124. CORRECT TEXT
Configure the DNS server by allowing query only from the 192.168.0.0/24 Local Network.
Answer and Explanation:
1. vi /var/named/chroot/etc/named.conf
acl localnet { 192.168.0.0/24; };
options {
allow-query { localnet; };
};
2. service named restart | start
allow-query is a global option on /var/named/chroot/etc/named.conf, specifies an address match list of hosts allowed to query this server. If this option is not set, any host can query the server.
Q125. CORRECT TEXT
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data.
Now you required more space on /data but you already added all disks belong to physical volume.
You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of lvtestvolume by 5GB.
Answer and Explanation:.
1. Create a partition having size 5 GB and change the syste id '8e'.
2. use partprobe command
3. pvcreate /dev/hda9 à Suppose your partition number is hda9.
4. vgextend test0 /dev/hda9 à vgextend command add the physical disk on volume group.
5. lvextend -L+5120M /dev/test0/lvtestvolume
6. verify using lvdisplay /dev/test0/lvtestvolume.
Update RH302 pdf exam:
Q126. CORRECT TEXT
Your system is giving error to load X window System. Make successfully boot your system in runlevel5.
Answer and Explanation:
While you load the X Window System, you will get the problem. Problem may caused by different error.
1. Check the /tmp is full ?
2. Check your quota, hard limit is already crossed ?
3. Check xfs service is running ?
4. Configure the Video card, Resolution, monitor type using: system-config-display (Most Probably in Redhat exam)
5. Edit the /etc/inittab to set default runlevel 5.
id:5:initdefault:
Q127. CORRECT TEXT
You are giving RHCE exam. You should boot the system in Run level 3. When you start the system after while it is going on runlevel 6 : like
INIT: Entering Run level 6
Sending TERM Single
Fix the problem and boot the system.
Answer and Explanation:
It is due to either default runlevel or runlevel specific scripts.
3. id:?:initdefault: àWhere default runlevel is specified. It shouldn't be 6.
4. l3:3:wait:/etc/rc.d/rc 6 àIt reads the scripts of runlevel 6 while booting system on rulevel 3.
It should be like:
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3 Should be like this
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
Q128. CORRECT TEXT
Create the user named jackie, curtin, david
Answer and Explanation:
1. useradd jackie
2. useradd curtin
3. useradd david
useradd command is used to create the user. All user's information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.
Q129. 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
Q130. CORRECT TEXT
Create the directory /data and group owner should be the sysadmin group.
Answer and Explanation:
1. chgrp sysadmin /data
2. Verify using ls -ld /data command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /data
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysadmin /data