ทุกคนโปรดช่วยฉันแก้ปัญหาของฉันฉันใช้ Centos รุ่นเคอร์เนลของฉันคือ 2.6.32 ฉันอยากรู้ว่า User_Alias, Host_Alias, Runas_Alias, Cmnd_Alias คืออะไรใน sudoers และมันทำงานอย่างไรในการกำหนดค่า
1
linux.die.net/man/5/sudoers
—
ssnobody
ฉันขอขอบคุณความช่วยเหลือของคุณ แต่ฉันไม่สามารถกำหนดค่าไฟล์ sudoers ได้โปรดยกตัวอย่างให้ฉันฉันสามารถดูได้และฉันสามารถกำหนดค่าได้ เกี่ยวกับ User_list, Host_list, Cmnd_list, Runas_list
—
Mohd Shakeer
มันอธิบายสิ่งที่แต่ละคนอยู่ใน manpage นี่คือตัวอย่างสำหรับ
—
ssnobody
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.
นอกจากนี้ opensource.apple.com/source/sudo/sudo-16/sudo/sample.sudoers มีตัวอย่างมากมาย
—
ssnobody
ขออภัยที่ตอบช้าขอบคุณมากสำหรับความมีน้ำใจของคุณให้ฉันเป็นตัวอย่างที่ดี
—
Mohd Shakeer