I've setup doas to run on FreeBSD 11.1 as per these instructions and added the following line to my doas.conf:

permit persist :wheel

I've noticed that I need to insert my password every time I run doas, ie, it's not respecting the 5 minute limit for password expiration.

Am I missing something?

up vote 2 down vote accepted

I read the following in man doas.conf:

persist

After the user successfully authenticates, do not ask for a password again for some time. Works on OpenBSD only, persist is not available on Linux or FreeBSD.

The most important part is: "persist is not available on ... FreeBSD". I think it will not work on FreeBSD.

  • Well, I deserved that. – ruipacheco Dec 14 '17 at 23:59

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.