bsd_auth again

2009-05-25 Thread Gregory Edigarov
Hello, Perhaps somebody can help me a bit... Here is very simple login_-test.c, just to check if everything works: #include stdio.h int main (int argc, char **argv) { char buf[1024]; int i; for (i=0;iargc;i++) puts(argv[i]); read (3,buf,sizeof(buf)); puts(buf); } And a very simple

Re: bsd_auth again

2009-05-25 Thread ttner dorian.buett...@gmx.de
Gregory Edigarov schrieb: As it doesn't seem to be calling login_-test, I think that is because I failed to properly describe what I need in login.conf what should be done? Tell your user to use that class in vipw?

Re: bsd_auth again

2009-05-25 Thread Otto Moerbeek
On Mon, May 25, 2009 at 10:47:11AM +0300, Gregory Edigarov wrote: Hello, Perhaps somebody can help me a bit... Here is very simple login_-test.c, just to check if everything works: #include stdio.h int main (int argc, char **argv) { char buf[1024]; int i; for (i=0;iargc;i++)

Re: bsd_auth again

2009-05-25 Thread Gregory Edigarov
Otto Moerbeek wrote: On Mon, May 25, 2009 at 10:47:11AM +0300, Gregory Edigarov wrote: Hello, Perhaps somebody can help me a bit... Here is very simple login_-test.c, just to check if everything works: #include stdio.h int main (int argc, char **argv) { char buf[1024]; int i; for

Re: bsd_auth again

2009-05-25 Thread Gregory Edigarov
Otto Moerbeek wrote: On Mon, May 25, 2009 at 10:47:11AM +0300, Gregory Edigarov wrote: Hello, Perhaps somebody can help me a bit... Here is very simple login_-test.c, just to check if everything works: #include stdio.h int main (int argc, char **argv) { char buf[1024]; int i; for