2.Sudoers SyntaxBasic Syntax
Sudoersの構文 - Gentoo Linux
Code Listing2.2: Live /etc/sudoers examples
コード表示2.2:/etc/sudoersの実例 - Gentoo Linux
Code Listing2.1: Basic /etc/sudoers syntax
コード表示2.1:/etc/sudoers基本構文 - Gentoo Linux
Code Listing2.7: Declaring aliases in /etc/sudoers コード表示2.7:/etc/sudoersにおいて、エイリアスを宣言する - Gentoo Linux
The sudo configuration is managed by the /etc/sudoers file.This file should never be edited through nano/etc/sudoers orvim/etc/sudoers or any other editor you might like.
sudoの設定は、/etc/sudoersファイルにより管理されます。 このファイルは、nano/etc/sudoersまたはvim/etc/sudoersを介して、もしくはあなたのお好みのエディタで、決して編集されてはいけません。 - Gentoo Linux
To ease the administration of/etc/sudoers you can define aliases.
/etc/sudoersの管理を簡単にするために、エイリアスを定義できます。 - Gentoo Linux
Please read the sudo and sudoers manual pages for more information. より詳細な情報は、sudoやsudoersのマニュアルページを参照して下さい。 - Gentoo Linux
Inside /etc/sudoers you list the user(s) in between(and) before the command listing:
/etc/sudoers中において、コマンド前の(と)の間に、一人または複数のユーザを記載してやります。 - Gentoo Linux
Of course, this behavior can be changed: you can set the Defaults:directive in /etc/sudoers to change the default behavior for a user. Defaults:指示文を、/etc/sudoers中に定義し、そのデフォルト動作をユーザ用に、変えることができます。 - Gentoo Linux
The sudo tool allows shell-style wildcards (AKA meta or globcharacters) to be used in pathnames as well as command line arguments in the sudoers file. 同様に、sudoではシェルスタイルのワイルドカード(またの名をメタキャラクタ、もしくはglob)をsudoersファイルのパス名、さらにはコマンドライン引数において使用できます。 - Gentoo Linux
If you have any command in /etc/sudoers that does not require you to enter a password, it will not require a password to list the entries either.Otherwise you might be asked for your password if it isn't remembered. そうでなければ、パスワードが記憶されてない場合に、聞かれることがあるかもしれません。 - Gentoo Linux
$ sudo -lUser swift may run the following commands on this host:(root) /usr/libexec/xfsm-shutdown-helper(root) /usr/bin/emerge(root) /usr/bin/passwd [a-zA-Z0-9_-]*(root) ! /usr/bin/passwd root(apache) /usr/bin/pkill(apache) /bin/kill
/etc/sudoers中に、パスワード入力を求めないコマンドがひとつでもあれば、エントリーを表示するのにも、パスワードを要求されることはないでしょう。 - Gentoo Linux