Yubico Forum
https://forum.yubico.com/

So Close - MacOS X Login - Yubikey NEO
https://forum.yubico.com/viewtopic.php?f=23&t=2371
Page 1 of 1

Author:  Energy [ Wed Jul 20, 2016 10:17 pm ]
Post subject:  So Close - MacOS X Login - Yubikey NEO

So I have followed the instructions closely from the OS X login guide.

https://www.yubico.com/wp-content/uploa ... gin_en.pdf

But I get to one area that fails at the end.

sudo cp /var/root/.yubico/challenge-[YUBIKEY SERIAL NUMBER] /Users/[USERNAME]/.yubico

I'm not doing any of the configuration from a root account.

root isn''t even enabled on the system. (does it need to be?) Do all commands need to be performed from a root login?

Appreciate any insight.

Thank you.

Author:  ChrisHalos [ Thu Jul 21, 2016 3:32 am ]
Post subject:  Re: So Close - MacOS X Login - Yubikey NEO

Ignore step 6, that's only if step 5 doesn't result in the proper response:

Stored initial challenge and expected response in ‘/Users/[USERNAME]/.yubico/challenge-[YUBIKEY SERIAL NUMBER]’.

If there's a permissions issue and you have to run sudo ykpamcfg -2, then you'll get the message:

Stored initial challenge and expected response in '/var/root/[USERNAME]/challenge-[YUBIKEY SERIAL NUMBER]'.

The file has to be in /Users/[USERNAME]/.yubico/, that's what the command in step 6 is for.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/