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 ánLờ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
Why are group accounts important for managing user access in Linux?Có lời giảiCâu hỏiWhich file is responsible for defining service access methods and authentication in Linux?Có lời giảiCâu hỏiWhich authentication service is more secure because it supports SSL/TLS encryption?Có lời giảiCâu hỏiCả 26 câu của chủ đề26 câu
Xuất hiện trong 1 bộ đề
Đi tiếp từ đây