I was already looking for the source...
getpwnam is included via /uClibc/include/pwd.h and i found getpwnam.c
under ./liv/libc/getent/getpwnam.c
As far as i remember you still have need to have an existing file
"/etc/passwd" even if uClinux uses the file "/mnt/passwd". If not please
tell me, so that i can participate and change my code accordingly.
Regards,
Christian
[EMAIL PROTECTED] schrieb:
Hope your day is being better than mine...
I'm confused. I've tried to modify the PATH from the passwd directory in
the getpwnam.c in /uClinux-dist-test/lib/libc/getent/ library, but it
doesn't seem to change anything.
Perhaps I'm looking at the wrong library. Shoud I be looking at /lib/libc,
/glibc or /uClibc library? Do you now with witch library BOA is usually
compiled?
I really need this to work.
(Christian could you be kind and try to help? Let's pretend it's Christmas
time and we have our hearts filled with joy and hapiness... :D I'll by you
a beer next time you're in Portugal)
My best regards, Jorge Lopes
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
[EMAIL PROTECTED] 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
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev