SUDO


OS

SL6.1

手順 目次

  1. /etc/sudoers編集(/etc/sudoers)


手順 内容

/etc/sudoers編集(/etc/sudoers)


# visudo
sudoを行うユーザー名を追加する。
書式は、「ユーザ ホスト=(権限) コマンド」のようになる。

## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
## user MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
ユーザー名 ALL=(ALL) ALL
最終更新:2012年11月08日 21:57