Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65423 - BNETD initscript starts bnetd running as root
Summary: BNETD initscript starts bnetd running as root
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 10:10 UTC by Thulle
Modified: 2004-09-27 03:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thulle 2004-09-26 10:10:25 UTC
from /etc/init.d/bnetd;
start-stop-daemon --start --quiet \
--exec /usr/games/bin/bnetd -c root:games --

Is it meant to be like this and then bnetd itself drops to useraccount as specified in config? In that case it's a bit of work chowning all dirs to the correct user. Wouldn't it be better to autocreate a user for it & run as that? If not, maybe add an warning to bnetd.conf that it will be ran as root if an account aint specified?

Reproducible: Didn't try
Steps to Reproduce:
1. emerge pvpgn
2. /etc/init.d/bnetd start

Actual Results:  
bnetd starts as root

Expected Results:  
bnetd should start as some less privilegied user :)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-27 03:49:01 UTC
should be fixed in pvpgn-1.6.5-r1.ebuild.  It'll use the GAMES_USER_DED instead of the GAMES_USER.

thanks for the bug report.