On my system, getpwuid(getuid())->pw_passwd only returns 'x'.
Type: Posts; User: marinus
On my system, getpwuid(getuid())->pw_passwd only returns 'x'.
No, that's not what I need. I need some way to see if the password the user typed in is really his login password. I need to get the login password from somewhere, or I need a function which I can...
I'm writing a program that will need the user's password. The program should not have to be run as root, but it should work when run normally.
The user should type his login password, and the...