免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2108 | 回复: 1
打印 上一主题 下一主题

用户所属的组,怎样才能扩大超过16个? [复制链接]

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-02-27 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-02 09:57 |只看该作者 |倒序浏览
20可用积分
如题,solaris10手册上说了,用户可以属于一个主组和最多15个辅助组。
现在客户想把一个用户属于尽可能多的组,怎么弄?

最佳答案

查看完整内容

下面是相关的文档资料。注意:一定要升级KERNEL PATCH 到最新,否则可能导致NFS异常。****************************************************************By default, a user can only belong to a total of 16 groups;1 primary group, the group that the operating system assigns to files created by the user,and15 secondary groups.This number can be increased by tuning the ngroup_max kernel parameter in the /etc/s ...

论坛徽章:
0
2 [报告]
发表于 2008-12-02 09:57 |只看该作者
下面是相关的文档资料。注意:一定要升级KERNEL PATCH 到最新,否则可能导致NFS异常。
****************************************************************
By default, a user can only belong to a total of 16 groups;

1 primary group, the group that the operating system assigns to files created by the user,
and

15 secondary groups.
This number can be increased by tuning the ngroup_max kernel parameter in the /etc/system file up to a maximum value of 32.

This is done by adding the following to the /etc/system file:

   set ngroups_max = 20
... and rebooting. This example will allow for a user to be part of 20 groups in total (1 primary and 19 secondary).

WARNING: Increasing this value above 16 will cause NFS to stop working (See Symptoms and Resolution Document 16151). This is due to a limitation in the RPC protocol specifications (RFC 1057).

As a result of this limitation, tuning this variable is not recommended. An alternate solution is to implement Access Control Lists (ACL) to restrict access to directories and files.

Details on configuring ACL's can be found in the setfacl(1) and getfacl(1) man pages and the System Administration Guide for the appropriate release of Solaris on http://docs.sun.com
**************************************************************************
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP