Hmmm - co z paranoid patches? ;]

Jan Rekorajski baggins w pld.org.pl
Czw, 20 Sty 2000, 20:39:06 CET


[czwartek, 20 styczeń 2000], Michal Margula napisał(a):

> +/* PLD antiroot */
> + int antirootkey;
> + if (geteuid()==0) {
> +   fprintf(stderr,"\aWARNING!!!\n\n");
> +   fprintf(stderr,"Using this program as root is highly unrecommended\n");
> +   fprintf(stderr,"because of security problems.\n");
> +   fprintf(stderr,"If you still want to do it, press Y now,\n");
> +   fprintf(stderr,"Otherwise press any key to exit this program.\n");
> +   if (((antirootkey=fgetc(stdin))!=89) && (antirootkey!=121)) exit(101);
> + }
> 
> 
> Zostawiać?

Zostawić.

Janek
-- 
Jan Rękorajski            |  ALL SUSPECTS ARE GUILTY. PERIOD!
baggins<at>mimuw.edu.pl   |  OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
BOFH, type MANIAC         |                   -- TROOPS by Kevin Rubio



Więcej informacji o liście dyskusyjnej pld-devel-pl