util  Diff

Differences From Artifact [f1f30ece5b]:

To Artifact [9bb8a09cb3]:


   184    184   		if (nobody == null) {
   185    185   			say("\x1b[1;31mfatal:\x1b[m could not get UID to drop privileges; bailing");
   186    186   			return bad_user;
   187    187   		} else {
   188    188   			setenv("HOME", nobody -> pw_dir, true);
   189    189   			setenv("SHELL", "/dev/null", true);
   190    190   			setuid(nobody -> pw_uid);
          191  +			if (geteuid() == 0)
          192  +				say("\x1b[1;31mnice try:\x1b[m i don't fucking think so, you sneaky bastard");
   191    193   		}
   192    194   
   193    195   	}
   194    196   #	endif
   195    197   	
   196    198   	const unsigned char chars = (sizeof str_num - 1) +
   197    199   		((mode == upper) ? (sizeof str_ucase - 1) :