3月18是什么星座| 626是什么日子| 脸上浮肿是什么原因导致的| 牛和什么生肖最配| 甲亢是什么回事| 水苏糖是什么东西| 狗为什么会咬人| 12月20日是什么星座| 大便有粘液什么原因| 金刚石是由什么构成的| 9月3日是什么纪念日| 兔跟什么生肖配对最好| 孕妇梦见蛇是什么意思| 什么话| beams是什么品牌| 水飞蓟是什么| 心肌供血不足吃什么| 承你吉言是什么意思| 为什么抽烟就想拉屎| 消渴症是什么病| 10.16是什么星座| 什么日什么里| 属猴的本命佛是什么佛| 沅字五行属什么| 六八年属什么| 担心是什么意思| 麦芽糊精是什么| 多酚是什么| 芭蕉花炖猪心治什么病| 阴茎疱疹用什么药| 58年属什么生肖| 钠是什么意思| 欣是什么意思| 四什么八什么| 画什么点睛| 女生白带是什么| 骨折什么感觉| 经常说梦话是什么原因| 人类是什么动物| 洋辣子蛰了用什么药| 玉米什么季节成熟| 属相牛和什么属相配| 人越来越瘦是什么原因| 送伞代表什么意思| 女性黄体期是什么意思| 四个龙念什么| 草木灰是什么| 孕检挂什么科| 肌桥是什么意思| 巧克力是什么做的| 大仙为什么知道你的事| 离殇是什么意思| 正佳广场有什么好玩的| 血小板分布宽度低是什么原因| 屡禁不止的意思是什么| 滞后是什么意思| 内分泌是什么| 女人血虚吃什么补最快| 乳腺瘤不能吃什么| 睡着了咳嗽是什么原因| 棉花糖是什么做的| everytime什么意思| 肛门痒擦什么药| 电脑什么牌子好| 孕酮代表什么| 干咳无痰是什么原因| 呼吸音粗是什么原因| 感冒发烧能吃什么水果| 浪子回头金不换是什么意思| 鲤鱼吃什么| 布洛芬吃多了有什么后果| 什么是音序| 23岁属什么| 猫奴是什么意思| 什么是支原体感染| 三叉神经痛挂什么科就诊| 嗓子痛吃什么药好| 捂脸表情什么意思| 1什么意思| 男的尿血是什么原因| 栓是什么意思| 阴虱是什么样子图片| 喉咙老是有白痰是什么原因| a型熊猫血是什么血型| 碳酸饮料喝多了有什么危害| 血尿是什么颜色的| 榄仁叶是什么树的叶子| 乙醇是什么| 百合和拉拉有什么区别| 后背痒是什么原因| 反应性增生是什么意思| 晚上10点是什么时辰| 菜瓜是什么瓜| 芝麻吃多了有什么坏处| 吃饼是什么意思| 脱髓鞘病变是什么意思| 早上屁多是什么原因造成的| 寒湿体质吃什么中成药| 张柏芝和谢霆锋为什么离婚| 桑叶有什么功效| 膝盖后面叫什么部位| 七月七是什么节| 邪犯少阳证是什么意思| 梦见女婴儿是什么意思| 达喜是什么药| 丁克是什么| 肠化是什么意思| 炒面用什么面条最好| 狗狗吃胡萝卜有什么好处| 花青素有什么作用| 211是什么| 什么是肝炎| 什么叫宫腔粘连| 喝水都长肉是什么原因| 陈皮为什么越陈越好| gel是什么意思| 头皮屑是什么东西| 九死一生是什么生肖| 水果什么时间段吃最好| 忽悠什么意思| 顾里为什么和席城睡了| 德国用什么货币| 12月24号是什么星座| cordura是什么面料| 产检挂什么科| 女人右手断掌代表什么| 甲沟炎看什么科| levi是什么意思| 麦乳精是什么| 虚张声势是什么生肖| 什么日什么里| 花千骨最后结局是什么| 急性肠胃炎吃什么食物| lgbtq是什么意思| 714什么星座| 一个大一个小念什么| 左耳朵发热代表什么预兆| 月经正常颜色是什么色| 保姆是什么意思| 中秋节什么时候| 天灾人祸什么意思| 下午16点是什么时辰| 吕布是什么生肖| 脚气用什么药膏最好| 手指麻木是什么原因引起的| 答谢宴是什么意思| 三刀六洞什么意思| 为什么会得骨癌| 西辽国在现今什么地方| 小青柑是什么茶类| 钱癣用什么药膏最好| 上门女婿什么意思| wh是什么颜色| 学无止境是什么意思| 晟这个字读什么| 鸽子喜欢吃什么| 羊水穿刺主要检查什么| 夏季吃什么水果好| 胆结石不能吃什么食物| 胆小如鼠的意思是什么| 宝宝缺钙吃什么补得快| 异麦芽酮糖醇是什么| 杰字属于五行属什么| 睡觉张嘴是什么原因| 吃什么药可以延长时间| 荨麻疹吃什么食物好| 女性下面流水什么原因| 单于是什么意思| 经常想睡觉是什么原因| 一岁宝宝流鼻涕吃什么药| 为什么当兵| 黄斑前膜是什么病| 体检喝水了有什么影响| 官印是什么意思| 血脂高不能吃什么| 志愿号是什么意思| 媞是什么意思| 118什么意思| 爽约是什么意思| 什么水果含钾高| 嘴辰发紫是什么病| 胸闷是什么原因造成的| 才高八斗是什么生肖| 武松的绰号是什么| 什么而去的四字词语| 甲状腺不均质改变是什么意思| 茯苓的作用是什么| 大胯疼是什么原因引起| 新股配号数量是什么意思| 尿白细胞定量高是什么意思| mdt是什么| 减肥吃什么零食| 农历5月是什么星座| 老人出汗多是什么原因| 产奶速度慢是什么原因| 荔枝什么人不能吃| 喝老陈皮水有什么好处| dm什么意思| 什么是白内障| 九月十五是什么星座的| 1990属马的是什么命| 荷叶和山楂一起泡水有什么功效| 自己是什么意思| 急性扁桃体发炎吃什么药| 肠胃炎需要做什么检查| 造影有什么危害| 茬是什么意思| 悉心栽培什么意思| 烟火气息是什么意思| 感冒吃什么食物| 溏是什么意思| 研究生体检都检查什么| 菊花什么时候开放| 脚气用什么药最好| 养神经的药是什么药最好| 反酸吃什么药| 吹风样杂音见于什么病| mi是什么| 观音菩萨保佑什么| 杨梅酒喝了有什么好处和功效| 给男生送什么礼物好| 吃完饭就犯困是什么原因| 犀利哥什么意思| 什么是尿酸高| 基数是什么| 月经推迟不来吃什么药| 多囊是什么原因造成的| 咂是什么意思| 健脾胃吃什么食物好| 其可以组什么词| p站是什么| sorona是什么面料| 尿发黄是什么原因| 脸上掉皮是什么原因| 梦见前男友结婚了是什么征兆| 赖氨酸有什么作用| burberry什么牌子| 惹上官司是犯了什么煞| 女今读什么| 喝什么最解渴| 电影下映是什么意思| 忽必烈和成吉思汗是什么关系| 民不聊生是什么意思| 肾阴虚什么症状| 什么水果降血糖| 平均血小板体积偏高是什么原因| 主管护师是什么职称| 夏五行属什么| 什么洗衣液是中性的| 涟漪什么意思| 节食是什么意思| 房颤挂什么科| 胃糜烂和胃溃疡有什么区别| 焦是什么意思| 龙舌兰是什么酒| 杨少华什么辈分| 黄五行属什么| 右手臂发麻是什么原因| 独角仙吃什么食物| 12月29号是什么星座| 乘务员是干什么的| 香蕉皮擦脸有什么作用与功效| 舌苔白什么原因| 肠癌是什么原因造成的| 百度Jump to content

Dough model exhibit up to 18 meters long in Kunming

From Wikipedia, the free encyclopedia
(Redirected from Group identifier (Unix))
百度 《2018中国大学评价》主要评价指标有:中国大学综合实力、12个学科门类、494个本科专业;中国大学择校顺序、本科毕业生就业质量、本科毕业生升学率、教师学术水平、教师绩效、新生质量。

In Unix-like systems, multiple users can be put into groups. POSIX and conventional Unix file system permissions are organized into three classes, user, group, and others. The use of groups allows additional abilities to be delegated in an organized fashion, such as access to disks, printers, and other peripherals. This method, among others, also enables the superuser to delegate some administrative tasks to normal users, similar to the Administrators group on Microsoft Windows NT and its derivatives.

A group identifier, often abbreviated to GID, is a numeric value used to represent a specific group.[1] The range of values for a GID varies amongst different systems; at the very least, a GID can be between 0 and 32,767, with one restriction: the login group for the superuser must have GID 0. This numeric value is used to refer to groups in the /etc/passwd and /etc/group files or their equivalents. Shadow password files and Network Information Service also refer to numeric GIDs. The group identifier is a necessary component of Unix file systems and processes.

Supplementary groups

[edit]

In Unix systems, every user must be a member of at least one group, the primary group, which is identified by the numeric GID of the user's entry in the passwd database, which can be viewed with the command getent passwd (usually stored in /etc/passwd or LDAP). This group is referred to as the primary group ID. A user may be listed as member of additional groups in the relevant entries in the group database, which can be viewed with getent group (usually stored in /etc/group or LDAP); the IDs of these groups are referred to as supplementary group IDs.

Effective vs. real

[edit]

Unix processes have an effective (EUID, EGID), a real (UID, GID) and a saved (SUID, SGID) ID. Normally these are identical, but in setuid and setgid processes they are different.

Conventions

[edit]

Type

[edit]

Originally, a signed 16-bit integer was used. Since the sign was not necessary – negative numbers do not make valid group IDs – an unsigned integer is now used instead, allowing group IDs between 0 and 65,535. Modern operating systems usually use unsigned 32-bit integers, which allow for group IDs between 0 and 4,294,967,295.

Reserved ranges

[edit]

Many Linux systems reserve the GID number range 0 to 99 for statically allocated groups, and either 100?499 or 100?999 for groups dynamically allocated by the system in post-installation scripts. These ranges are often specified in /etc/login.defs, for useradd, groupadd and similar tools.

On FreeBSD, porters who need a GID for their package can pick a free one from the range 50 to 999 and then register this static allocation in ports/GIDs.[2]

Special values

[edit]
  • 0: The superuser normally has a GID of zero (0).
  • ?1: The value (gid_t) -1 is reserved by POSIX to identify an omitted argument.[3]
  • 65,534: The Linux kernel defaults to 216?2 = 65,534 (which many Linux distributions map to the group name "nogroup") when a 32-bit GID does not fit into the return value of a 16-bit system call.[4] The value is also returned by idmapd if a group name in an incoming NFSv4 packet does not match any known group on the system.

Personal groups

[edit]

Many system administrators allocate for each user also a personal primary group that has the same name as the user's login name, and often also has the same numeric GID as the user's UID. Such personal groups have no other members and make collaboration with other users in shared directories easier, by allowing users to habitually work with umask 0002. This way, newly created files can have by default write permissions enabled for group members, because this will normally only enable write access for members of the personal group, that is only for the file's owner. However, if a file is created in a shared directory that belongs to another group and has the setgid bit set, then the created file will automatically become writable to members of that directory's group as well.

On many Linux systems, the USERGROUPS_ENAB variable in /etc/login.defs controls whether commands like useradd or userdel automatically add or delete an associated personal group.

See also

[edit]

References

[edit]
  1. ^ "Definitions". pubs.opengroup.org. Retrieved 2025-08-06.
  2. ^ FreeBSD Porter's Handbook, Section 6.26: Adding Users and Groups
  3. ^ "chown". pubs.opengroup.org. Retrieved 2025-08-06.
  4. ^ "Namespaces in operation, part 5: User namespaces [LWN.net]". lwn.net. Retrieved 2025-08-06.
工作是为了什么 十二指肠霜斑样溃疡是什么意思 海带和什么相克 宝宝嘴巴臭臭的是什么原因 绿色加什么颜色是蓝色
多巴胺什么意思 玫瑰什么时候开花 数典忘祖指什么动物 wtf是什么意思 p53阳性是什么意思
沙漏是什么意思 肚子疼拉肚子挂什么科 coupon是什么意思 12生肖为什么没有猫 花孔雀是什么意思
书房字画写什么内容好 金字旁加各念什么 旦上面加一横是什么字 潜叶蝇打什么药效果好 画饼什么意思
上午11点是什么时辰hcv8jop2ns0r.cn 榆木脑袋是什么意思hcv8jop9ns8r.cn 食道疼是什么原因hcv9jop4ns0r.cn 玄孙是什么意思hcv8jop2ns4r.cn 奕什么意思hcv9jop2ns0r.cn
阳春三月指什么生肖hcv7jop9ns1r.cn 边界尚清是什么意思hcv9jop4ns8r.cn 汪小菲什么星座hcv8jop2ns1r.cn 网名取什么好听hcv9jop2ns8r.cn 八月十六号是什么星座hcv8jop2ns6r.cn
2007年是什么生肖travellingsim.com 唇炎属于什么科zsyouku.com 咳嗽不能吃什么sanhestory.com 腰椎ct能查出什么ff14chat.com 猴子属于什么类动物hcv9jop4ns6r.cn
耳石是什么hcv9jop8ns1r.cn 女人梦到火是什么预兆hcv8jop1ns9r.cn 蓝色妖姬代表什么含义hcv8jop3ns0r.cn 甘霖是什么意思hcv8jop5ns5r.cn 宫保鸡丁属于什么菜系hcv8jop4ns4r.cn
百度