正在加载图片...
3.资源访问权限 资源中的用户信息: 文件:uid,gid-- chown it: uid, gid, euid, egid--setuido), getuido (real ID 对应于调用进程ID, effective ID对应被执行文件的用 户ID) 资源访问权限对用户的划分:ugoa 资源所有者: the user who owns it(u 同组用户: other users in the file's group(g) 一非同组用户: other users not in the file's group(O) 所有用户: all users(a)(这种情况相当于前三种的组 合a=u+g+o)3. 资源访问权限 • 资源中的用户信息: – 文件:uid, gid――chown() – 进程:uid, gid, euid, egid――setuid(), getuid() (real ID 对应于调用进程ID,effective ID对应被执行文件的用 户ID) • 资源访问权限对用户的划分:ugoa – 资源所有者:the user who owns it (u) – 同组用户:other users in the file's group (g) – 非同组用户:other users not in the file's group (o) – 所有用户:all users (a)(这种情况相当于前三种的组 合a=u+g+o)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有