CORRECT TEXT

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...

January 18, 2019 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add 3 users: harry, natasha, tom. The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user: tom's login shell should be non-interactive.View AnswerAnswer: see explanation below. Explanation # useradd -G admin harry # useradd -G admin natasha # useradd -s /sbin/nologin...

January 17, 2019 No Comments READ MORE +

CORRECT TEXT

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.View AnswerAnswer: see explanation below. Explanation # 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

January 14, 2019 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...

January 12, 2019 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure a task: plan to run echo hello command at 14:23 every day.View AnswerAnswer: see explanation below. Explanation # which echo # crontab -e 23 14 * * * /bin/echo hellos # crontab -l (Verify)

January 12, 2019 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...

January 9, 2019 No Comments READ MORE +

CORRECT TEXT

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.View AnswerAnswer: see explanation below. Explanation crontab Ce Cu natasha 23 14/bin/echo hiya crontab -l -u natasha // view systemctlenable crond systemcdlrestart crond

January 7, 2019 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure 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.View AnswerAnswer: see explanation below. Explanation # chkconfig autofs on # cd...

January 2, 2019 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a backup Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.View AnswerAnswer: see explanation below. Explanation cd /usr/local tar Cjcvf /root/backup.tar.bz2 mkdir /test tar Cjxvf /root/backup.tar.bz2 CC /test// Decompression to check the content is the same as the /usr/loca...

December 31, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)View AnswerAnswer: see explanation below. Explanation # cd /etc/yum.repos.d # vim local.repo [local] name=local.repo baseurl=file:///mnt enabled=1 gpgcheck=0 # yum makecache # yum install -y...

December 25, 2018 No Comments READ MORE +