Act now and download your Red Hat hitachi ex200 test today! Do not waste time for the worthless Red Hat hitachi ex200 tutorials. Download Regenerate Red Hat EX200 Red Hat Certified System Administrator (RHCSA) Exam exam with real questions and answers and begin to learn Red Hat redhat ex200 with a classic professional.
Q21. CORRECT TEXT
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
Answer: # cat /etc/grub.conf
# cd /boot
# lftp it
# get dr/dom/kernel-xxxx.rpm
# rpm -ivh kernel-xxxx.rpm
# vim /etc/grub.conf
default=0
Q22. CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.
Answer: # which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)
Q23. CORRECT TEXT
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)
Answer: # vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
------------------------------------------------------------------------------- (Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)
OR
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)
Q24. CORRECT TEXT
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
Answer: # cp /etc/fstab /var/tmp/
# chgrp admin /var/tmp/fstab
# setfacl -m u:user1:rwx /var/tmp/fstab
# setfacl -m u:user2:--- /var/tmp/fstab
# ls -l
-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab
Q25. CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.
Answer: # which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)
Q26. CORRECT TEXT
Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40. The password is set as "password". And the certificate login successfully through
can be downloaded from http://ip/dir/ldap.crt. After the user logs on , the user has no host directory unless you configure the autofs in the following questions.
Answer: system-config-authentication
LDAP Server: ldap//instructor.example.com (In domain form, not write IP)
OR
# yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd)
# system-config-authentication
:1.User Account Database: LDAP
:2.LDAP Search Base DN: dc=example,dc=com
:3.LDAP Server: ldap://instructor.example.com (In domain form, not write IP)
:4.Download CA Certificate
:5.Authentication Method: LDAP password
:6.Apply
getent passwd ldapuser40
Q27. CORRECT TEXT
Create a user named alex, and the user id should be 1234, and the password should be alex111.
Answer: # useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex