Skip to content

Instantly share code, notes, and snippets.

@ganeshragnarayanan
Created August 9, 2016 16:56
Show Gist options
  • Save ganeshragnarayanan/f4b5376ab3ebdb59a54e0e731f42f1e4 to your computer and use it in GitHub Desktop.
Save ganeshragnarayanan/f4b5376ab3ebdb59a54e0e731f42f1e4 to your computer and use it in GitHub Desktop.
custom getpwnam debugs
Aug 8 13:24:11 ubuntu sshd[15664]: last_pw_name pointer is (nil), user = sshd
Aug 8 13:24:11 ubuntu sshd[15664]: last_pw_name pointer is (nil), user = user2
Aug 8 13:24:11 ubuntu sshd[15664]: pw_name pointer allocated using strdup is 0x55597342f190, user = user2
Aug 8 13:24:15 ubuntu sshd[15664]: last_pw_name pointer is 0x55597342f190, user = user2
Aug 8 13:24:15 ubuntu sshd[15664]: pw_name pointer allocated using strdup is 0x55597342cdb0, user = user2
Aug 8 13:24:28 ubuntu sshd[15664]: last_pw_name pointer is 0x55597342cdb0, user = user2
Aug 8 13:24:28 ubuntu sshd[15664]: pw_name pointer allocated using strdup is 0x555973432d40, user = user2
Aug 8 13:20:48 ubuntu sshd[15395]: last_pw_name pointer is (nil), user = sshd
Aug 8 13:20:48 ubuntu sshd[15395]: last_pw_name pointer is (nil), user = admin
Aug 8 13:20:53 ubuntu sshd[15395]: last_pw_name pointer is (nil), user = admin
Aug 8 13:20:54 ubuntu sshd[15395]: last_pw_name pointer is (nil), user = admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment