Add closefrom(2) from openssh-portable
Print -a flag in usage() only if HAVE_BSD_AUTH_H
Closes: #11 [via git-merge-pr]
configure: error out if no authentication found and fix default CC
The string with path to shell could be taken directly from struct passwd. At some point later the data it points to is overridden by getpwuid() call, resulting in garbage. The problem could be easily demonstreated by double doas call:
$ doas doas -su _sndio
doas: mpty: command not found
The fix is easy: just strdup() the pw_shell field value.
okay tedu@, tweaks from & okay natano@
add "recvfd" to doas(1) for use with skey.
ok tb@ deraadt@
use posix correct optstring
somehow nopass snuck onto the :wheel example. i think it's better without.
revise environment handling. Add a setenv keyword for manipulating the environment. keepenv now means only retain everything. (for one release, the old use of keepenv will still work.) Allow setting variables to new or existing values, and also removing vars when keepenv is used. ok djm martijn tb
move a space to the correct spot
Merge pull request #8 from frgm/master
configure: fix usage() formatting & fix make install
configure: fix usage() formatting
fix --with(out)-pam configure option