avatar
Help! A question about "sudo"# Unix - 噫吁兮,危乎高哉
s*e
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?
avatar
T*r
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?

avatar
s*e
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.
avatar
T*r
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/.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。