User_Alias ​​Host_Alias ​​คืออะไร Runas_Alias ​​Cmnd_Alias ​​วิธีกำหนดค่า


0

ทุกคนโปรดช่วยฉันแก้ปัญหาของฉันฉันใช้ Centos รุ่นเคอร์เนลของฉันคือ 2.6.32 ฉันอยากรู้ว่า User_Alias, Host_Alias, Runas_Alias, Cmnd_Alias ​​คืออะไรใน sudoers และมันทำงานอย่างไรในการกำหนดค่า



ฉันขอขอบคุณความช่วยเหลือของคุณ แต่ฉันไม่สามารถกำหนดค่าไฟล์ sudoers ได้โปรดยกตัวอย่างให้ฉันฉันสามารถดูได้และฉันสามารถกำหนดค่าได้ เกี่ยวกับ User_list, Host_list, Cmnd_list, Runas_list
Mohd Shakeer

มันอธิบายสิ่งที่แต่ละคนอยู่ใน manpage นี่คือตัวอย่างสำหรับ User_list: A User_List is made up of one or more user names, user ids (prefixed with '#'), system group names and ids (prefixed with '%' and '%#' respectively), netgroups (prefixed with '+'), non-Unix group names and IDs (prefixed with '%:' and '%:#' respectively) and User_Aliases.
ssnobody

นอกจากนี้ opensource.apple.com/source/sudo/sudo-16/sudo/sample.sudoers มีตัวอย่างมากมาย
ssnobody

ขออภัยที่ตอบช้าขอบคุณมากสำหรับความมีน้ำใจของคุณให้ฉันเป็นตัวอย่างที่ดี
Mohd Shakeer
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.