getpwuid - UNIX/POSIX function to get the password file entry for a user ID
Questions tagged [getpwuid]
16 questions
-2
votes
1 answer
retrieving Owner name of file using getpwuid() in c always throw root
Hi when i login as root in my Linux system and try to get owner name of the file Using getpwuid() it always display root(lie) rather than actual owner name below is my code.
please help me to get the actually name rather then root.
int main(int…

rosti
- 1
- 4