RHCE 無料問題集「RedHat Red Hat Certified Engineer - RHCE」

CORRECT TEXT
Configure a user account.
Create a user iar , uid is 3400. Password is redhat
正解:
useradd-u3400iarpasswdiar
CORRECT TEXT
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.
正解:
crontab-e-unatasha2314/bin/echohiyacrontab-l-unatasha//viewsystemctlenablecrondsystemcdlrestartcrond
CORRECT TEXT
Configure /var/tmp/fstab Permission.
Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.
正解:
cp/etc/fstab/var/tmp/
/var/tmp/fstabviewtheownersetfacl-mu:natasha:rw-/var/tmp/fstabsetfacl-mu:haryy:---/var/tmp/fstabUsegetfacl/var/tmp/fstabtoviewpermissions
CORRECT TEXT
Make on /archive directory that only the user owner and group owner member can fully access.
正解:
chmod770/archive
Verifyusing:ls-ld/archivePreviewshouldbelike:drwxrwx---2rootsysuser4096Mar1618:08/archiveTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysuser)canfullyaccessthedirectoryso:chmod770/archive
CORRECT TEXT
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server.
How will make successfully ping to 192.168.1.0/24 Network's Host?
正解:
vi/etc/sysconfig/networkGATEWAY=192.168.0.254ORvi/etc/sysconf/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=staticONBOOT=yesIPADDR=192.168.0.?NETMASK=255.255.255.0GATEWAY=192.168.0.254
servicenetworkrestartGatewaydefinesthewaytoexitthepackets.AccordingtoquestionSystemworkingasarouterfortwonetworkshaveIPAddress192.168.0.254and192.168.1.254.
CORRECT TEXT
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby's login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
正解:
groupaddadminuseradd-Gadminmaryuseradd-Gadminaliceuseradd-s/sbin/nologinbobbyecho"password"|passwd--stdinmaryecho"password"|passwd--stdinaliceecho"password"|passwd--stdinbobby
CORRECT TEXT
Please open the ip_forward, and take effect permanently.
正解:
vim/etc/sysctl.confnet.ipv4.ip_forward=1
sysctl-w(takeseffectimmediately)Ifno"sysctl.conf"optionusethesecommands:
sysctl-a|grepnet.ipv4
sysctl-Pnet.ipv4.ip_forward=1
sysctl-w

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡