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/.
|
|