CORRECT TEXT

CORRECT TEXT Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.View AnswerAnswer: see explanation below. Explanation # fdisk /dev/vda n +512M w # partprobe /dev/vda # mkfs -t ext4 /dev/vda5 # mkdir -p /data # vim /etc/fstab /dev/vda5...

October 28, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add users: user2, user3. The Additional group of the two users: user2, user3 is the admin group Password: redhatView AnswerAnswer: see explanation below. Explanation # useradd -G admin user2 # useradd -G admin user3 # passwd user2 redhat # passwd user3 redhat

October 21, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure your Host Name, IP Address, Gateway and DNS. Host name: station.domain40.example.com /etc/sysconfig/network hostname=abc.com hostname abc.com IP Address:172.24.40.40/24 Gateway172.24.40.1 DNS:172.24.40.1View AnswerAnswer: see explanation below. Explanation # cd /etc/syscofig/network-scripts/ # ls # vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1 DNS1=172.24.40.1 # vim /etc/sysconfig/network (Configure Host Name)...

October 19, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a catalog under /home named admins. Its respective group is requested to be the admin group. The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group.View...

September 27, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a user named alex, and the user id should be 1234, and the password should be alex111.View AnswerAnswer: see explanation below. Explanation # useradd -u 1234 alex # passwd alex alex111 alex111 OR echo alex111|passwd -stdin alex

September 25, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a Shared Directory. Create a shared directory /home/admins, make it has the following characteristics: /home/admins belongs to group adminuser This directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser.View AnswerAnswer: see explanation below. Explanation...

September 23, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure a user account. Create a user iar , uid is 3400. Password is redhatView AnswerAnswer: see explanation below. Explanation useradd -u 3400 iar passwd iar

September 23, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create User Account. Create the following user, group and group membership: Adminuser group User natasha, using adminuser as a sub group User Harry, also using adminuser as a sub group User sarah, can not access the SHELL which is interactive in the system, and is not a member...

September 18, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure 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...

September 17, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure a default software repository for your system. One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.View AnswerAnswer: see explanation below. Explanation Yum-config-manager --add-repo=http://content.example.com/rhel7.0/x86-64/dvd” is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0 Yumcleanall Yumrepolist Almost 4305 packages...

September 17, 2018 No Comments READ MORE +