Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
getpwnam_r always "*"
« previous
next »
Print
Pages: [
1
]
Author
Topic: getpwnam_r always "*" (Read 3701 times)
wimopn
Newbie
Posts: 8
Karma: 1
getpwnam_r always "*"
«
on:
February 21, 2019, 10:05:00 pm »
Hi,
In
https://forum.opnsense.org/index.php?topic=11719.0
I was asking about users & pw.
I tried to read the users & pw from the system in C with getpwnam_r, and in perl with getpwuid but they keep returning "*" as pw, even executing as root user. The same code on a centos VM works as expected.
I'm obviously doing something wrong, where is the difference between a vm with linux and an embedded freebsd setup ?
Best regards,
Wim
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
getpwnam_r always "*"