Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20148 - [oidentd] set default user id and group to something else than root

Attached to Project: Community Packages
Opened by Dirk (dsohler) - Monday, 12 July 2010, 10:21 GMT
Last edited by Mateusz Herych (Partition) - Tuesday, 13 July 2010, 01:21 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Mateusz Herych (Partition)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When running oidentd as daemon via the regular daemon administration procedure (entry in DAEMONS in rc.conf, starting and stopping as root via /etc/rc.d/oidentd) in runs as root, which is – in fact – a security hole. oidentd supports starting as, lets say, nobody:nobody very well.

By applying the patch attached oidentd it checks for a file “/etc/default/oidentd” and sources it (maybe there is a better solution available because sourcing user generated files is dangerous, too). In this file there sould be defined two variables: USER and GROUP.

The script checks if this two variables are set to something else than an empty string. If the two variables are empty, secure default values (nobody:nobody) are used.


Additional info:
* 2.0.8-2


Steps to reproduce:
* Install oidentd
* Setup a configuration file for user rights, etc.
* start oidentd via default start script in /etc/rc.d
This task depends upon

Closed by  Mateusz Herych (Partition)
Tuesday, 13 July 2010, 01:21 GMT
Reason for closing:  Fixed

Loading...