Re: [Leap 16.0] apache2 group wwwrun or www?

Robert Webb via openSUSE Users <[email protected]> Sun, 19 Jul 2026 22:37:51 +0000 (UTC)
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
 On Sun, 19 Jul 2026 17:50:25 +0000 (UTC), Robert Webb via openSUSE Users <[email protected]> wrote:

>  # Type Name ID GECOS [HOME]
>  g www -
>  u wwwrun -:www "WWW daemon apache" /var/lib/wwwrun
>  g wwwrun -

Oops.  This "g wwwrun -" line creates group wwwrun, but does not
add user wwwrun to it.  So /usr/lib/sysusers.d/system-user-wwwrun.conf
should be:

 # Type Name ID GECOS [HOME]
 g www -
 u wwwrun -:www "WWW daemon apache" /var/lib/wwwrun
 m wwwrun wwwrun

Now it does:
- group www is created (unchanged from the original system-user-wwwrun.conf)
- user wwwrun is created with primary group www (instead of wwwrun)
- user wwwrun is added to group wwwrun, created if needed

-- 
Robert Webb