3 ms·
I believe it has to do with Unix-like OSes always assigning the UID 0 to root.
by supergauntlet 13y ago
I believe it has to do with Unix-like OSes always assigning the UID 0 to root.
- lgas 13y agoThis doesn't make any sense unless for some reason you are creating unix users based on the users in your application and using the application user ID as the unix user ID which would be silly.
- mafuyu 13y agoThe convention of 0 as NULL is more likely, as UID 0 doesn't really make sense in this context.