由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Help! A question about "sudo"
相关主题
[公告] Unix 板的投票结果请问非root用户在openBSD上可以用ports安装软件吗?
about Sun WorkstationsRe: 如何限制用户锁屏?
如何在KDE下实现权限的限制?Help!
reinstall the operation system为什么root都无权改文件?
OpenBSD 3.2 is out on November 1st.[转载] Re: about incoming email
OpenBSD还是NetBSD呢CXTERM 终结说明
howto NAT-Based Networking OpenBSD on VMware wk4Re: 没有chmod怎么改权限?
Metawire.org一个免费提供OpenBSD Shell的优秀组织root做不到的事?
相关话题的讨论汇总
话题: sudoers话题: sudo话题: etc话题: server话题: question
进入Unix版参与讨论
1 (共1页)
s****e
发帖数: 63
1
I am asked to upgrade the OpenBSD system in a lab. Since I get an account
which has been listed in sudoers' list, I can log in and sudo as root in one
of the computers (not the server) in the lab. But When I want to do that in
the server, I get a warning message says that there is no sudoers in /etc/.
What should I do now?
T********r
发帖数: 6210
2
add file sudoers in /etc, chmod 440 /etc/sudoers.

【在 s****e 的大作中提到】
: I am asked to upgrade the OpenBSD system in a lab. Since I get an account
: which has been listed in sudoers' list, I can log in and sudo as root in one
: of the computers (not the server) in the lab. But When I want to do that in
: the server, I get a warning message says that there is no sudoers in /etc/.
: What should I do now?

s****e
发帖数: 63
3
That is what I want to do. But when I try to add this file (I used "vi
sudoers") to /etc/ on the server, it says that "permission denied". :(

one
in
/etc/.

【在 T********r 的大作中提到】
: add file sudoers in /etc, chmod 440 /etc/sudoers.
T********r
发帖数: 6210
4
boot from CD-ROM and mount the file system, add one file, hehe.

【在 s****e 的大作中提到】
: That is what I want to do. But when I try to add this file (I used "vi
: sudoers") to /etc/ on the server, it says that "permission denied". :(
:
: one
: in
: /etc/.

1 (共1页)
进入Unix版参与讨论
相关主题
root做不到的事?OpenBSD 3.2 is out on November 1st.
how to fix login problem ( can't read .cshrc fileOpenBSD还是NetBSD呢
How to open *.bin files?howto NAT-Based Networking OpenBSD on VMware wk4
怎么在FTP里改变文件属性?Metawire.org一个免费提供OpenBSD Shell的优秀组织
[公告] Unix 板的投票结果请问非root用户在openBSD上可以用ports安装软件吗?
about Sun WorkstationsRe: 如何限制用户锁屏?
如何在KDE下实现权限的限制?Help!
reinstall the operation system为什么root都无权改文件?
相关话题的讨论汇总
话题: sudoers话题: sudo话题: etc话题: server话题: question