免费注册 查看新帖 |

Chinaunix

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

[故障求助] 令人困惑的su -user问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-28 15:51 |只看该作者 |倒序浏览
在Smitty Chuser中有一项:

Another user can SU TO USER?                        true  or  false

这一项好像没什么用,因为当我把它设成True的时候,执行su - username并且键入该用户的密码后,就能以该用户的名义登陆。
而当我把它设成False的时候,执行su - username并且键入该用户的密码后,仍然能以该用户的名义登陆。
True和False难道真的没有区别吗?

论坛徽章:
0
2 [报告]
发表于 2003-01-28 17:01 |只看该作者

令人困惑的su -user问题

好像还有一项Another group can su to user?你也把这个改成false试试看,

论坛徽章:
8
白羊座
日期:2015-01-21 18:35:03巳蛇
日期:2015-02-03 17:30:37处女座
日期:2015-02-03 17:31:02羊年新春福章
日期:2015-02-03 17:31:21巨蟹座
日期:2015-02-05 16:01:06申猴
日期:2015-02-05 16:01:31摩羯座
日期:2015-02-05 16:01:41酉鸡
日期:2015-02-05 16:02:37
3 [报告]
发表于 2003-01-28 18:06 |只看该作者

令人困惑的su -user问题

su Indicates whether another user can switch to the specified user account with the su command. Possible values are:
  true
    Another user can switch to the specified account. This is the default.
  false
    Another user cannot switch to the specified account.

sugroups Lists the groups that can use the su command to switch to the specified user account. The Value parameter is a comma-separated list of group names, or a value of ALL to indicate all groups. An ! (exclamation point) in front of a group name excludes that group. If this attribute is not specified, all groups can switch to this user account with the su command.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP