You want to allow members of the users group to use fdisk on the /dev/sda drive (and only that drive) and to use the yum command to update and install packages. Which command do you run?

4 phương ánCó giải thích

Các phương án trả lời

Chọn một phương án
Lời giảiChọn phương án để mở
Đáp án đúng: "%users ALL\=/sbin/fdisk /dev/sda, /usr/bin/yum". Cú pháp sudoers giới hạn nhóm users bằng tiền tố %, cho phép trên mọi máy (ALL) chạy đúng fdisk trên /dev/sda và yum theo đường dẫn thực thi. Đường dẫn thiết bị phải là /dev/sda, không phải thư mục mount /mnt/sda. "%users ALL\=/sbin/fdisk /mnt/sda, /bin/yum" đưa nhầm đường dẫn mount và nhầm vị trí yum; "%users ALL\=/tmp/fdisk /dev/sda, /usr/bin/yum" trỏ tới chương trình không chuẩn trong /tmp; "%users ALL\=/tmp/fdisk /mnt/sda, /bin/yum" sai cả đường dẫn fdisk lẫn thiết bị.

Cùng chương 4

Xuất hiện trong 1 bộ đề