Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 511906

Summary: app-crypt/heimdal - daemons should not run as root by default
Product: Gentoo Linux Reporter: Francisco Blas Izquierdo Riera <klondike>
Component: Current packagesAssignee: Gentoo Kerberos Maintainers <kerberos>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-05-30 22:33:31 UTC
It's considered really bad practice running a daemon with more privileges than the needed ones. Heimdal's daemons shouldn't at least when capabilities are available run as root.

Reproducible: Always

Steps to Reproduce:
1. USE="caps" emerge heimdal
2. ls -ld /var/heimdal (or similar)

Actual Results:  
drwxr-xr-x 1 root root 50 30 maj 21.14 /var/heimdal/

Expected Results:  
drwxr-x--- 1 heimdal heimdal 50 30 maj 21.14 /var/heimdal/

Just an example the init.d files also need being changed.