public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: [tw] - using runuser instead of su in cronjobs
@ 2026-08-26  8:53 Thomas Woerner
  0 siblings, 0 replies; only message in thread
From: Thomas Woerner @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
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.3

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:53 [rpms/inn] epel10.3: [tw] - using runuser instead of su in cronjobs Thomas Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox