Monday, April 15, 2024

[389-users] Re: Permission of log files

Julian

The ldif below will do the trick, replace the add: with replac;e if the attributes already exist.

Rob


dn: cn=config
changetype: modify
add: nsslapd-accesslog-mode
nsslapd-accesslog-mode: 644
-
add: nsslapd-errorlog-mode
nsslapd-errorlog-mode: 644



-----Original Message-----
From: Julian Kippels <kippels@hhu.de>
Sent: Monday, April 15, 2024 4:51 AM
To: General discussion list for the 389 Directory server project. <389-users@lists.fedoraproject.org>
Subject: [389-users] Permission of log files

✉External message: Use caution.


Hi,

I am looking for a way to configure the default permission of the log files in /var/log/dirsrv/<instance>/* All the files there belong to dirsrv:dirsrv with the permission of 0600.
I would like to have the default permission to be 0644 so that my external log-monitoring can access the files.

Julian
--
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

No comments:

Post a Comment