Real and Effective IDs

  Real User ID:登陆用户的ID。

  Effective User ID:有效用户ID。如设置了suid,则Effective User ID为文件主ID。

  Saved User ID:The saved user ID (suid) is used when a program running with elevated privileges needs to temporarily do some unprivileged work: it changes its effective user ID from a privileged value (typically root) to some unprivileged one, and this triggers a copy of the privileged user ID to the saved user ID slot.[2] Later, it can set its effective user ID back to the saved user ID (an unprivileged process can only set its effective user ID to three values: its real user ID, its saved user ID, and its effective user ID—i.e., unchanged) to resume its privileges.

    

参考:http://en.wikipedia.org/wiki/User_identifier#Saved_user_ID

 

相关文章:

  • 2021-05-22
  • 2022-12-23
  • 2021-06-15
  • 2021-08-07
  • 2021-04-05
  • 2021-05-31
  • 2021-10-15
  • 2021-11-10
猜你喜欢
  • 2021-12-20
  • 2021-11-08
  • 2021-05-18
  • 2021-10-21
  • 2021-12-10
  • 2022-01-03
  • 2022-02-20
相关资源
相似解决方案