You are not logged in.
im building from source bc i want to change password prompt .
changed
snprintf(doas_prompt, sizeof(doas_prompt), "\rdoas (%.32s@%.32s) password: ", myname, host);to
snprintf(doas_prompt, sizeof(doas_prompt), "\rPassword: ", myname, host);in pam.c
installed opendoas from repos and backed up /etc/pam.d/doas restored the same after buiding from source.
doas is working with custom prompt but persist doesn't work
doas -C /etc/doas.confdoesn't output any errors
posting here instead of opendoas bugtracker bc dev said they can't help with pam configurations of all distros.
this is my /etc/doas.conf http://0x0.st/o2KN.conf there is a blank line as described in arch wiki
this is /etc/pam.d/doas http://0x0.st/o2KI.txt
SOLVED: you need to buid opendoas with --with-timestamp option as in
./configure --with-timestampLast edited by parsody (2022-08-10 04:54:46)
Offline