理解 process.initgroups(user, extra_group)
理解 user group Process
2023-09-14 09:07:55 时间
这个函数是对 linux C函数 initgroups() 的包装 node.js 官方文档非常含糊,还是看 linux C函数文档的解释!非常清楚明确。
The initgroups() function uses the getgrouplist(3) function to calculate the supplementary group IDs for the user specified in name. This group list then set up for the current process using setgroups(2). The basegid is automatically included in the group list. Typically this value is given as the group number from the password file.參考: http://www.man7.org/linux/man-pages/man3/initgroups.3.html
相关文章
- 深入理解 Spring 事务原理
- 通过一个示例形象地理解C# async await异步
- 深入理解MySQL中的外键添加(mysql如何添外键)
- 深入理解Linux NDMP(linuxndmp)
- Linux函数atoi:理解其功能(linuxatoi)
- MySQL中User表的角色权限管理(mysql中user表)
- chnology深入理解MySQL技术(mysqltee)
- 如何理解 Oracle 中的子分区(oracle什么是子分区)
- 和roleOracle中User和Role的角色区分(Oracle中_user)
- 理解JavaScript中的对象推荐
- jQuery中(function(){})()执行顺序的理解
- 深入理解JSON数据源格式