Bug 77367 - sympa account creation patch
Summary: sympa account creation patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 23:40 UTC by Scott Balmos
Modified: 2005-02-27 14:05 UTC (History)
0 users

See Also:


Attachments
file.diff (238 bytes, patch)
2005-02-10 23:40 UTC, Scott Balmos
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Balmos 2005-02-10 23:40:24 UTC
The port of sympa (mail/sympa) creates a user account and group, sympa/sympa, for the Sympa system to run under. However, the port creates a user with a uid/gid of 1025, not with a uid normally reserved in the "system account" space (uid/gid <1000). This can be annoying to systems set up with user account managers that do not use pw and /etc/master.password, and are shared across multiple servers (e.g. LDAP).

It would be better if the sympa user was created using an explicit "system account" uid/gid, such as uid/gid 200 (which doesn't seem to be used by any port that I know of).

Fix: Explicitly assign uid/gid 200 to sympa. This would also update Sect. 17.12 of the Porter's Handbook.
How-To-Repeat: Load a fresh FreeBSD box. Create a few normal user accounts (e.g. ones that are auto-assigned uid's, incrementing starting from uid 1000).

Install mail/sympa somewhere along the line.

pw usershow sympa and pw groupshow sympa. The assigned uid/gid is 1025, which is in normal user account uid/gid space.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-12 22:52:40 UTC
Dear maintainer of FreeBSD port mail/sympa, please take a look at

http://www.freebsd.org/cgi/query-pr.cgi?q=77367

Do you approve this change?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

It whines, glows and fades...
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-12 22:52:43 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval. 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-12 22:52:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-27 14:05:17 UTC
State Changed
From-To: feedback->closed

Committed, thanks!