mparienti, 3 months ago @nixCraft Thanks again for your great article. I have a question: I believed that using getent passwd and getent group were better practices than reading directly the files from /etc/ directory. But I noticed in your article you were using the files from /etc directory. Do you have any advice about which way is better between the two approaches?
@nixCraft
Thanks again for your great article.
I have a question: I believed that using getent passwd and getent group were better practices than reading directly the files from /etc/ directory.
getent passwd
getent group
/etc/
But I noticed in your article you were using the files from /etc directory.
/etc
Do you have any advice about which way is better between the two approaches?