无法SU..ROOT
时间:2003-11-28
来源:互联网
无法使用SU..也无法使用REBOOT和SHUTDOWN..
我怎么办...就是我怎么把一般用户加入到WHEEL
openbsd.png (6.2 KB, 59 次查看) |
作者: feelfirst 发布时间: 2003-11-28
man useradd,
man sudo,
man sudoers
作者: werix 发布时间: 2003-11-28
作者: rainren 发布时间: 2003-11-28
作者: lhmwzy 发布时间: 2003-11-28
man sudo -> to know how sudo works
man sudoers -> know how to configure a sudoer
I think this is the best way to reponse a user instead of feed him a "Show-O-Matic" solution!
作者: werix 发布时间: 2003-11-28
resolve a problem is not merely a key...
i am english was so poor...
很多时候都是硬着头皮看...
作者: feelfirst 发布时间: 2003-11-29
Existing users must be added to the "wheel" group by hand. This is done for security reasons, and you should be cautious with whom you give access to. On OpenBSD, users who are in the wheel group are allowed to use the su(1) userland program to become root. Users who are not in "wheel" cannot use su(1). Here is an example of a /etc/group entry to place the user ericj into the "wheel" group.
If you are adding a new user with adduser(8), you can put them in the wheel group by answering wheel at "Invite user into other groups:". This will add them to /etc/group, which will look something like this:
wheel:*:0:root,ericj
If you are looking for a way to allow users limited access to superuser privileges without putting them in the "wheel" group, use sudo(8).
在我的ETC中好象并没有group.????
作者: feelfirst 发布时间: 2003-11-29
作者: werix 发布时间: 2003-11-29
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28