Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcarrano
14 days ago
> usernames were passed as arguments to getent(1) to retrieve the corresponding passwd entry
Always try to use actual API/system calls (in this case getpwnam) instead of calling sub-processes.