Mondi su mondi, sistemi di sistemi.

Leopard: nomi utente preceduti da un underscore

Ho notato che in Leopard i nomi utente asso­ciati ai pro­cessi sono pre­ce­duti da un under­score, ad _mysql, ma anche _www, e a livello semi–cosciente mi sono sem­pre chie­sto il perché.

Beh, l’ho sco­perto oggi ;-) ma non certo per merito mio: sem­pli­ce­mente l’ho letto in una mai­ling list:

This is because the ori­gi­nal desi­gners of Unix neglec­ted to take into
account the notion of user name­spa­ces — the name­space is flat. That
means that system or role spe­ci­fic names can con­flict with names that
users would like to use for them­sel­ves (c.f. “admin” or “ope­ra­tor”)
unless you adopt a con­ven­tion for kee­ping them sepa­rate. That
con­ven­tion is the pre­fix under­score. (Underscores in some direc­tory user, group names (Postfix MacPort exam­ple))

Per proseguire

Commenti e trackback sono disabilitati.