V2EX  ›  英汉词典
Enqueued related words: Suid, Uid, Gid, Setgid

Setuid

Definition / 释义

在类 Unix 系统中,“setuid”通常指“设置用户 ID”机制:当可执行文件设置了 setuid 位 时,程序运行时会临时以文件所有者(常见为 root)的权限执行;也可指相关的系统调用/函数(如 setuid())用于设置进程的用户 ID。(在不同语境下可指“权限位”或“系统调用”。)

Pronunciation / 发音

/ˈsɛtˌjuːɪd/

Examples / 例句

The program needs setuid to access that protected file.
这个程序需要 setuid 才能访问那个受保护的文件。

Because the binary is setuid root, a small bug could become a serious security risk if untrusted input is not handled carefully.
由于该可执行文件是 setuid root,只要对不可信输入处理不当,一个小漏洞就可能变成严重的安全风险。

Etymology / 词源

set + uid 组成:set 表示“设置”,uiduser ID(用户标识) 的缩写。该术语源自 Unix 的用户与权限模型,用于描述“运行时有效身份(effective UID)可能与实际身份不同”的机制。

Related Words / 相关词

Literary Works / 文学作品

  • Advanced Programming in the UNIX Environment(W. Richard Stevens 等):讲解进程权限、有效 UID 与 setuid() 等机制
  • The UNIX Programming Environment(Brian W. Kernighan, Rob Pike):涉及 Unix 权限与工具链相关概念
  • UNIX and Linux System Administration Handbook:在系统安全与权限管理章节中讨论 setuid 程序与风险
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   683 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 20:23 · PVG 04:23 · LAX 12:23 · JFK 15:23
♥ Do have faith in what you're doing.