I am trying to look at the source code of the passwd and gpasswd programs . These tools check the effective UID set to zero to complete execution successfully. But I am a noob to C and couldn't find the line of code that checks if the process is being run by UID == 0. I would appreciate any hints or solutions.
Asked by Tomas
(141 rep)
Jun 21, 2022, 09:28 AM
Last activity: Jun 21, 2022, 09:50 AM
Last activity: Jun 21, 2022, 09:50 AM