search for: pwentry

Displaying 2 results from an estimated 2 matches for "pwentry".

Did you mean: pbentry
2002 Nov 25
0
Linux and Samba Code
..."Type a new password: " #define PROMPT2 "Type the same password again: " #define MINPWLEN 6 #define STRLEN 1024 int change(char *program, char *user, char *pwd, FILE *mystderr); int main ( int argc, char **argv) { int fd; struct passwd *pwentry; char name[STRLEN]; char newpw[STRLEN]; int reallyroot = 0; char *cp; FILE *mystderr; /* do we have the appropriate permissions? */ if (geteuid() != 0) { fprintf(stderr, "This program cannot run unless it is SUID-root, " "exiting......
2005 Apr 15
3
PAM authentication
...cesfully authenticated against a Samba server. When the user logs in for the first time, he's added to the user database and obviously only then will a call to getpwnam be succesful. I propse a configuration option to allow the authentication token to be passed to PAM even if the user has not pwentry. Thoughts? -- S?ren Hansen <sh at warma.dk> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3191 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050415/...