gtk-gnutella
Started by
hacnslash
, Aug 26 2003 08:08 PM
1 reply to this topic
#1
Posted 26 August 2003 - 08:08 PM
argh, i can't believe this shit. i just installed the latest version and it doesn't let me run it as root!! WHAT THE FUCK is their problem?! this should never ever be the decision of a program, only the user. fuck gtk-gnutella, fuck its developers, i am choosing a p2p option that lets me RUN IT on my friggin computer without logging on to another user. who the fuck do you ppl think you are telling me what to do on my computer with the bandwidth that I pay for and by the way, if i get 0wned it is NONE of your goddamn business! fucking pussies, dont have the guts to run a p2p app as root....jeez.
#2
Posted 26 August 2003 - 08:50 PM
This patch should take care of it 
diff --unified --recursive --new-file gtk-gnutella-0.92.1_old/src/main.c gtk-gnutella-0.92.1/src/main.c
--- gtk-gnutella-0.92.1_old/src/main.c 2003-08-26 21:44:27.000000000 -0400
+++ gtk-gnutella-0.92.1/src/main.c 2003-08-26 21:40:53.000000000 -0400
@@ -396,11 +396,6 @@
{
gint i;
- if (0 == getuid() || 0 == geteuid()) {
- fprintf(stderr, "Never ever run this as root!\n");
- exit(EXIT_FAILURE);
- }
-
for (i = 3; i < 256; i++)
close(i); /* Just in case */
diff --unified --recursive --new-file gtk-gnutella-0.92.1_old/src/main.c gtk-gnutella-0.92.1/src/main.c
--- gtk-gnutella-0.92.1_old/src/main.c 2003-08-26 21:44:27.000000000 -0400
+++ gtk-gnutella-0.92.1/src/main.c 2003-08-26 21:40:53.000000000 -0400
@@ -396,11 +396,6 @@
{
gint i;
- if (0 == getuid() || 0 == geteuid()) {
- fprintf(stderr, "Never ever run this as root!\n");
- exit(EXIT_FAILURE);
- }
-
for (i = 3; i < 256; i++)
close(i); /* Just in case */
BinRev is hosted by the great people at Lunarpages!











