Bug 250159

Summary: net/py-wsdd: Create dedicated sandbox user instead of re-using daemon
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Dimitry Andric <dim>
Status: Closed FIXED    
Severity: Affects Only Me CC: hiroo.ono+freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (hiroo.ono+freebsd)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Create dedicated sandbox user for wsdd none

Description Dimitry Andric freebsd_committer freebsd_triage 2020-10-06 11:01:19 UTC
Created attachment 218556 [details]
Create dedicated sandbox user for wsdd

I got interested in the wsdd port because I'm using samba with Windows 10 machines, and one minor point that I didn't like was that it used the generic "daemon" user.  I propose to use a dedicated "_wsdd" user (and primary group) instead, which I have added to the /usr/ports/{UID,GID} files. I chose the still free id 370, since wsdd uses port 3702.
Comment 1 Hiroo Ono 2020-10-07 13:44:26 UTC
Looks good. Thank you.
No objections from me.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-10-07 17:15:22 UTC
A commit references this bug:

Author: dim
Date: Wed Oct  7 17:14:21 UTC 2020
New revision: 551655
URL: https://svnweb.freebsd.org/changeset/ports/551655

Log:
  Create dedicated sandbox user for wsdd service

  This changes the account the wsdd service runs under from the generic
  'daemon' user to its own dedicated '_wsdd' user.

  Approved by:	hiroo.ono+freebsd@gmail.com (maintainer)
  PR:		250159
  MFH:		2020Q4

Changes:
  head/GIDs
  head/UIDs
  head/net/py-wsdd/Makefile
  head/net/py-wsdd/files/patch-etc_rc.d_wsdd
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-10-08 21:35:23 UTC
A commit references this bug:

Author: dim
Date: Thu Oct  8 21:34:56 UTC 2020
New revision: 551735
URL: https://svnweb.freebsd.org/changeset/ports/551735

Log:
  MFH: r551655

  Create dedicated sandbox user for wsdd service

  This changes the account the wsdd service runs under from the generic
  'daemon' user to its own dedicated '_wsdd' user.

  Approved by:	ports-secteam (joneum)
  PR:		250159

Changes:
_U  branches/2020Q4/
  branches/2020Q4/GIDs
  branches/2020Q4/UIDs
  branches/2020Q4/net/py-wsdd/Makefile
  branches/2020Q4/net/py-wsdd/files/patch-etc_rc.d_wsdd
Comment 4 Dimitry Andric freebsd_committer freebsd_triage 2020-10-08 21:36:40 UTC
Committed and merged to quarterly, thanks!