FS#20284 - [nethack] runs as root because arch does not have the games user.
Attached to Project:
Community Packages
Opened by Moritz Wilhelmy (wzff) - Monday, 26 July 2010, 18:20 GMT
Last edited by Jakob Gruber (schuay) - Saturday, 08 January 2011, 10:37 GMT
Opened by Moritz Wilhelmy (wzff) - Monday, 26 July 2010, 18:20 GMT
Last edited by Jakob Gruber (schuay) - Saturday, 08 January 2011, 10:37 GMT
|
Details
Description:
Because Arch does not have a games user, the popular nethack game runs setuid 0. Steps to reproduce: starf ~ $ ls -l /usr/lib/nethack/nethack -rwsr-xr-x 1 root root 1472772 Nov 7 2009 /usr/lib/nethack/nethack |
This task depends upon
Closed by Jakob Gruber (schuay)
Saturday, 08 January 2011, 10:37 GMT
Reason for closing: Fixed
Additional comments about closing: 3.4.3-5
Saturday, 08 January 2011, 10:37 GMT
Reason for closing: Fixed
Additional comments about closing: 3.4.3-5
Also, (unrelated) would you mind adding the colour patches from debian? These are the most commonly used patches for nethack and enhance gameplay significantly.
Because of it's enormous age and hackyness, nethack is very hard to package. I tried fixing this myself, but failed miserably. I'd suggest to take a look how debian does it.