Translated message

A translation of this page exists in English.

sudo エラー: problem with defaults entries

Solution In Progress - Updated -

Issue

sudo が実行されるたびに、problem with defaults entries メッセージが /var/log/secure に記録されます。

  • 以下のエラーメッセージが /var/log/secure に記録されます。

    Jan  3 01:13:45 server sudo[33111]: user : problem with defaults entries ; TTY=pts/1 ; PWD=/home/user ; USER=root ;
    
  • 対応するメールが、root のメールボックスに送信されます。

    To: root@server.example.com
    From: user@server.example.com
    Subject: *** SECURITY information for server.example.com ***
    Message-Id: <20230103061345.58B1F4003D08@server.example.com>
    Date: Tue, 3 Jan 2023 16:13:45 +1000 (AEST)
    
    server.example.com : Jan  3 06:13:45 : user : problem with defaults entries ; TTY=pts/1 ; PWD=/home/user ; USER=root ; 
    
  • 他のホストで同じ /etc/sudoers ファイルを使用しても、エラーは発生しません。

  • 上記のエラーメッセージ以外は、sudo は期待どおりに機能します。ユーザーは sudo を正しく実行できます。

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • sudo

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content