public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Thomas Woerner <twoerner@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10: [tw] - using runuser instead of su in cronjobs
Date: Wed, 26 Aug 2026 08:05:38 GMT	[thread overview]
Message-ID: <178773153809.1.14881743724174421600.rpms-inn-468dd398a251@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10
Commit : 468dd398a251bdce818dc8a113cd97a58b5b561a
Author : Thomas Woerner <twoerner@fedoraproject.org>
Date   : 2004-10-05T14:05:57+00:00
Stats  : +7/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/468dd398a251bdce818dc8a113cd97a58b5b561a?branch=epel10

Log:
[tw] - using runuser instead of su in cronjobs

---
diff --git a/inn-cron-expire b/inn-cron-expire
index 4286ba4..b2839a6 100644
--- a/inn-cron-expire
+++ b/inn-cron-expire
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-su - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/news.daily delayrm"
+runuser - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/news.daily delayrm"

diff --git a/inn-cron-nntpsend b/inn-cron-nntpsend
index 23edde1..6210ef8 100755
--- a/inn-cron-nntpsend
+++ b/inn-cron-nntpsend
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-su - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/nntpsend"
+runuser - news -c "unset LANG; unset LC_COLLATE; /usr/lib/news/bin/nntpsend"

diff --git a/inn-cron-rnews b/inn-cron-rnews
index 7282770..c8bca2a 100644
--- a/inn-cron-rnews
+++ b/inn-cron-rnews
@@ -1,3 +1,3 @@
 #!/bin/sh
 /sbin/chkconfig innd || exit 0
-su - news -c 'unset LANG; unset LC_COLLATE; /usr/lib/news/bin/rnews -U'
+runuser - news -c 'unset LANG; unset LC_COLLATE; /usr/lib/news/bin/rnews -U'

diff --git a/inn.spec b/inn.spec
index 1861d5f..f814745 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
 Summary: The InterNetNews (INN) system, an Usenet news server.
 Name: inn
 Version: 2.3.5
-Release: 11
+Release: 11.1
 License: GPL
 Group: System Environment/Daemons
 Source0: ftp://ftp.isc.org/isc/inn/inn-%{version}.tar.gz
@@ -255,6 +255,9 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Tue Oct  5 2004 Thomas Woerner <twoerner@redhat.com> 2.3.5-11.1
+- using runuser instead of su in cronjobs
+
 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
 - rebuilt
 

                 reply	other threads:[~2026-08-26  8:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178773153809.1.14881743724174421600.rpms-inn-468dd398a251@fedoraproject.org \
    --to=twoerner@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox