0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

at.allowとかcron.allowによるアクセス制御メモ

Posted at

at.allowat.denyatコマンドのアクセス制御ファイル。atを使っていいユーザーはat.allowに書いて、atを使わせたくないユーザーはat.denyに書く。cron.allowcron.denyも同じように、crontabコマンドを使えるユーザーを制限する。でもこれらのファイルってあったり無かったりして、どの場合にアクセス制御がどうなってるのかよくわからないのでまとめておく。

+--------------------------------------------------------+
| at.allow | at.deny | atコマンドを使用できるユーザー         |
+----------+---------+-----------------------------------+
|    ×     |    ×    | rootのみ                           |
+----------+---------+-----------------------------------+ 
|    ○     |    ×    | root+at.allowに書かれたユーザー      |
+----------+---------+-----------------------------------+
|    ×     |    ○    | root+at.denyに書かれていないユーザー  |
+----------+---------+-----------------------------------+
|    ○     |    ○    | root+at.allowに書かれたユーザー      |
+----------+---------+-----------------------------------+

○:ファイルあり
×:ファイル無し

cronも同様。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?