Open JensRantil opened 8 years ago
This documentation is quite old and might have errors. If you've gone through this recently we'd be very happy to merge pull requests making the documentation better (the pages at developers.yubico.com are autogenerated from the doc folder of this repo).
Unfortunately, I am rather busy with other things. At least now you know that the documents aren't following best-practises when it comes to FreeRadius configuration.
These two pages claim that
root
user privileges is required to authenticate against PAM:Are you really sure this is required? AFAIK, the process must have read access to:
/etc/shadow
for unix authentication. On Ubuntu this involves assigning theshadow
group to the process's user.I just provisioned a non-root process (not FreeRadius) to authenticate with Yubikey and it worked fine as long as I fixed the above privileges.