[389-users] Re: Permission of log files

2024-04-15 Thread Rob Murray
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  
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//* 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-le...@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


[389-users] Re: Permission of log files

2024-04-15 Thread Julian Kippels

Welp, just call for help and you find a way to help yourself.

I was only looking in the cockpit-webinterface for an option. I just 
found out that there is a configuration parameter I can set with dsconf 
in the cli called nsslapd-{access,error,…}log-mode= where I can do the 
exact thing I want to do.


Julian

Am 15.04.24 um 09:50 schrieb Julian Kippels:

Hi,

I am looking for a way to configure the default permission of the log 
files in /var/log/dirsrv//*
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-le...@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



--
-
| | Julian Kippels
| | M.Sc. Informatik
| |
| | Zentrum für Informations- und Medientechnologie
| | Heinrich-Heine-Universität Düsseldorf
| | Universitätsstr. 1
| | Raum 25.41.O1.32
| | 40225 Düsseldorf / Germany
| |
| | Tel: +49-211-81-14920
| | mail: kipp...@hhu.de
-


smime.p7s
Description: Kryptografische S/MIME-Signatur
--
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@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


[389-users] Permission of log files

2024-04-15 Thread Julian Kippels

Hi,

I am looking for a way to configure the default permission of the log 
files in /var/log/dirsrv//*
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


smime.p7s
Description: Kryptografische S/MIME-Signatur
--
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@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