[uClinux-dev] BOA Auth
1010904 at isep.ipp.pt
1010904 at isep.ipp.pt
Wed Nov 21 05:29:12 EST 2007
Hummmmm....thanks for the tip. I just have this bug in my system that is
"cracking" my head...
I spent yesterday looking to the source code. Didn't find the function
getpwnam(). It isn't in the Boa source, is it? Perhaps in some library.?
My best regards, Jorge Lopes
> Hi!
>
> I had the same Problem some time ago. Auth.c in
> /uClinux-dist-test/user/boa/src uses the function getpwnam1(user) in int
> auth_check_userpass(char *user,char *pass,FILE *authfile);
>
> in getpwnam1 you can modify your auth file (i don´t know in which file
> this function is, just browse your source code) to the file you want to
> use.
> I hope that helps.
>
> Best Regards
>
> Christian
>
>
>
>
> 1010904 at isep.ipp.pt schrieb:
>> Hello.
>>
>> I'm wondering if any one knowns how to force BOA to read the passwd file
>> in the PATH defined in the config file?
>> I've tried adding:
>>
>> Auth / /mnt/passwd
>>
>> in the configuration file but, after reading the file at the startup,
>> Boa
>> reads the file present in /etc/passwd for auth the user.
>> I want to force it to read from /mnt/passwd. I read something about BOA
>> using the getpwnam() function to read the password file.
>> Any suggestions?
>>
>>
>>
>> _______________________________________________
>> uClinux-dev mailing list
>> uClinux-dev at uclinux.org
>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>> This message was resent by uclinux-dev at uclinux.org
>> To unsubscribe see:
>> http://mailman.uclinux.org/mailman/options/uclinux-dev
>>
>>
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
More information about the uClinux-dev
mailing list