Translated message

A translation of this page exists in English.

/var/log/wtmp ファイルのパーミッションをデフォルト (664) から任意のものに変更するには、どうすればよいですか?

Solution Verified - Updated -

Issue

  • /var/log/wtmp のパーミッションを永続的に変更する必要があります。
  • logrotate.conf ファイルで /var/log/wtmp ファイルのパーミッションを変更すると、再起動後にデフォルトに戻ります。
  • /var/log/wtmp のパーミッションが変更されます。 これはなぜですか?

Environment

  • RHEL 7.1
  • パーミッション

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