คำถามติดแท็ก rbac

2
sudo ไม่ทำงานกับคำสั่งบางอย่าง
ฉันมีปัญหาค่อนข้างแปลกsudoเมื่อใช้ Debian 8 ผู้ใช้ไม่สามารถดำเนินการคำสั่งบางอย่าง/etc/sudoers.dได้ ฉันใช้ Chef เพื่อแจกจ่ายการกำหนดค่าดังนั้นไฟล์ทั้งหมดจะถูกสร้างขึ้นโดยอัตโนมัติ ตัวอย่าง: การกำหนดค่านี้ทำงานได้ดี root@server:~# cat /etc/sudoers.d/nginx # This file is managed by Chef. # Do NOT modify this file directly. user ALL=(root) NOPASSWD:/usr/sbin/nginx และสิ่งนี้ล้มเหลว: root@server:~# cat /etc/sudoers.d/update-rc.d # This file is managed by Chef. # Do NOT modify this file directly. user ALL=(root) NOPASSWD:/usr/sbin/update-rc.d …
15 linux  debian  sudo  rbac 
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.