Hey,
Just wondering what the best way to do this is?
What i specifically want to do is check if a user exists on a unix machine.
The best way i was told was to read a line at a time of /etc/passwd and
check if the username is in that line.
Cheers
Just wondering what the best way to do this is?
What i specifically want to do is check if a user exists on a unix machine.
The best way i was told was to read a line at a time of /etc/passwd and
check if the username is in that line.
Cheers
Comment