首页 > 试题广场 >

In what ways does the Linux se

[问答题]

In what ways does the Linux setuid feature differ from the setuid feature in standard Unix?

推荐

Answer:Linux augments the standard setuid feature in two ways. First,it allows a program to drop and reacquire its effective uid repeatedly.In order to minimize the amount of time that a program executes with all of its privileges,a program might drop to a lower privilegelevel and thereby prevent the exploitation of security loopholes at the lower-level.However,when it needs to perform privileged operations,it can switch to its effective uid.Second,Linux allows a process to

take on only a subset of the rights of the effective uid.For instance,an user can use a process that serves files without having control over the process in terms of being able to kill or suspend the process.

发表于 2018-05-05 21:05:25 回复(0)