Hi,
is there a wayto useauth_userokay()without setgid
to auth ?
When testing this code:
#include stdlib.h
#include login_cap.h
#include bsd_auth.h
#include stdio.h
#include stdlib.h
int main()
{
printf(authentication );
char *user = strdup(me);
char *pass = strdup(pass);
if
On Sat, Nov 10, 2012 at 09:47:58PM +0100, rustyBSD wrote:
Hi,
is there a wayto useauth_userokay()without setgid
to auth ?
snip
So it seems that I have to setgid to auth, and my binary
must be setuid.
Am I wrong ? Is there a way of authenticatingwithout being
setuid ?
There's also
Hi,
I found an interesting tool[1] and it depends on Authen::PAM.
This obviously doesn't exist so I was searching for bsd_auth
version, no success.
But maybe it exists in a drawer of a person on this list ? :)
[1] http://code.google.com/p/enterprise-log-search-and-archive/
jirib
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
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?
a bsd_auth login
script, you better understand what you are doing. Otherwise you almost
certainly will create a hole. This is no place for trial and error.
-Otto
writing a bsd_auth login
script, you better understand what you are doing. Otherwise you almost
certainly will create a hole. This is no place for trial and error.
-Otto
Otto,
As I've written above it is just an experiment, in order to understand
and write bigger script, that will do
writing a bsd_auth login
script, you better understand what you are doing. Otherwise you almost
certainly will create a hole. This is no place for trial and error.
Also Otto, the question I've asked was about how to correctly connect
the would be script to the authentication mechanism
Hello,
Need just a small pointer to information on how to write an
authentication program
i.e. login_SOMEWHAT ? Because sources left much info outside.
Is there a specification or something?
Thanks.
--
With best regards,
Gregory Edigarov
On Fri, May 22, 2009 at 11:25:17AM +0300, Gregory Edigarov wrote:
Hello,
Need just a small pointer to information on how to write an
authentication program
i.e. login_SOMEWHAT ? Because sources left much info outside.
Is there a specification or something?
Thanks.
You'll want to read
Joachim Schipper wrote:
On Fri, May 22, 2009 at 11:25:17AM +0300, Gregory Edigarov wrote:
Hello,
Need just a small pointer to information on how to write an
authentication program
i.e. login_SOMEWHAT ? Because sources left much info outside.
Is there a specification or something?
Thanks.
On Fri, 22 May 2009, Gregory Edigarov wrote:
Logically I can understand, that password will be provided as an input on file
descriptor 3.
But I cannot find that in manual...
Why don't you start by reading bsd_auth(3) ?
--
Antoine
Gregory Edigarov wrote:
Joachim Schipper wrote:
On Fri, May 22, 2009 at 11:25:17AM +0300, Gregory Edigarov wrote:
Hello,
Need just a small pointer to information on how to write an
authentication program
i.e. login_SOMEWHAT ? Because sources left much info outside.
Is there a
Gilles Chehade wrote:
Gregory Edigarov wrote:
Joachim Schipper wrote:
On Fri, May 22, 2009 at 11:25:17AM +0300, Gregory Edigarov wrote:
Hello,
Need just a small pointer to information on how to write an
authentication program
i.e. login_SOMEWHAT ? Because sources left much info outside.
Hi.
I just upgraded to the latest i386 snap and realized that bsd_auth does
not work anymore with xdm (using kerberos here). As I usually use this
particular machine without X, it might have been this way for some time
but I just ran into this today.
Is it a known (mis)behaviour?
--
Antoine
15 matches
Mail list logo