Bug 34931

Summary: Default users in WWW ports to use newly introduced www user
Product: Ports & Packages Reporter: k.j.koster <k.j.koster>
Component: Individual Port(s)Assignee: Ernst de Haan <znerd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description k.j.koster 2002-02-14 14:20:01 UTC
FreeBSD has recently introduced a default www user and group> I think Orion and
Tomcat should default to using that user ID.
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2002-02-20 08:06:35 UTC
Responsible Changed
From-To: freebsd-ports->znerd

Over to maintainer
Comment 2 Ernst de Haan 2002-02-20 08:18:12 UTC
When was this 'www' user/group exactly introduced? Is there a link to more 
documentation on this? I should either check the OSVERSION or see if there 
already exists a 'www' user/group using /sbin/pw. Or both.

Ernst
Comment 3 k.j.koster 2002-02-20 10:17:45 UTC
I think you should just check for a preexisting www user. If it's there use
it, otherwise make an orion one or (my preference) create a www user.

    Kees Jan
Comment 4 Ernst de Haan freebsd_committer freebsd_triage 2002-02-21 09:31:16 UTC
What is the user ID and the group ID of those new www users? I'm upgrading to 
4.5-STABLE now, to see for myself...

Ernst
Comment 5 k.j.koster 2002-02-21 19:05:48 UTC
Dear Ernst,

> 
> What is the user ID and the group ID of those new www users? 
> 
death% grep www /etc/passwd /etc/group
/etc/passwd:www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin
/etc/group:www:*:80:
death%

80, go figure. :-)

    Kees Jan

=====================================================
 You can't have everything.  Where would you put it?
                                     [Steven Wright]
Comment 6 Ernst de Haan 2002-02-21 20:07:35 UTC
Fixed this for www/jakarta-tomcat.

Ernst
Comment 7 Ernst de Haan freebsd_committer freebsd_triage 2002-03-04 23:42:02 UTC
State Changed
From-To: open->closed

Fixed this for www/orion. This was already fixed for 
www/jakarta-tomcat.
Comment 8 Ernst de Haan freebsd_committer freebsd_triage 2002-03-04 23:43:43 UTC
Fixed. Next time please send 2 separate PRs, so I can close one at a time :)

But hey, I should not complain, I claim to love feedback and critisism. ;-)

Ernst