Câu 157: SK0-005: CompTIA Server+ Certification Exam
A user logs in to a Linux server and attempts to run the following command:sudo emacs /root/fileHowever, the user gets the following message:User userid is not allowed to execute ‘emacs’ on this server. Which of the following would BEST allow the user to find out which commands can be used?
Nội dung câu hỏi
A user logs in to a Linux server and attempts to run the following command:sudo emacs /root/fileHowever, the user gets the following message:User userid is not allowed to execute ‘emacs’ on this server. Which of the following would BEST allow the user to find out which commands can be used?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. visudo | grep userid
- B. sudo -1 -U userid — đáp án hiện tại
- C. cat /etc/passwd
- D. userlist | grep userid
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.