1 2 3 4 5 6 7 8 9
#include <shadow.h> int main() { struct spwd *spw; spw = getspnam(""); puts(spw->sp_pwdp); }