[uClinux-dev] BOA Auth
Christian Gieseler
c.gieseler at tiscali.de
Wed Nov 21 05:05:19 EST 2007
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
>
>
More information about the uClinux-dev
mailing list