SIMULATIONConfigure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password". And the certificate 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(s): A
system-config-authenticationLDAP 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-authentication1. User Account Database: LDAP2. LDAP Search Base DN: dc=example,dc=com3. LDAP Server: ldap://instructor.example.com (In domain form, not write IP)4.Download CA Certificate 5.Authentication Method: LDAP password6.Apply getent passwd ldapuser40
SIMULATIONConfigure autofs to make sure after login successfully, it has the home directory autofs, which is shared as / rhome/ldapuser40 at the ip: 172.24.40.10. and it also requires that, other ldap users can use the home directory normally.
# chkconfig autofs on# cd /etc/# vim /etc/auto.master/rhome /etc/auto.ldap# cp auto.misc auto.ldap# vim auto.ladpldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40* -rw,soft,intr 172.16.40.10:/rhome/&# service autofs stop# server autofs start# showmount -e 172.24.40.10# su - ladpuser40
SIMULATIONConfigure the system synchronous as 172.24.40.10.
Graphical Interfaces:System-->Administration-->Date & TimeOR# system-config-date
SIMULATIONChange 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.)
# 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/lv2mount -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)
SIMULATIONCreate a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under/mnt/data.
# pvcreate /dev/sda7 /dev/sda8# vgcreate -s 16M vg1 /dev/sda7 /dev/sda8# lvcreate -l 50 -n lvm02# mkfs.ext4 /dev/vg1/lvm02# blkid /dev/vg1/lv1# vim /etc/fstab# mkdir -p /mnt/dataUUID=xxxxxxxx /mnt/data ext4 defaults 0 0# vim /etc/fstab# mount -a# mount(Verify)
Post your Comments and Discuss RedHat EX200 exam prep with other Community members: