sudo alternatives; for the minimalists
matthew at FreeBSD.org
Tue Mar 14 08:13:00 UTC 2017
On 13/03/2017 19:36, Harry Schmalzbauer wrote:
> So I'm logged in by pub-key-auth with passphrase from gpg-agent as
> regular user – convinient so far.
> But now I have to re-type the SuperUser password any time I utilize 'su
> -c', which is often :-(
> On MacOS, I just have to do SuperUser privilege authorization once, then
> sudo doesn't ask on subsequent call.
> That's what I'm looking for :-)
pam_ssh_agent_auth will let you use your SSH key held in your agent to
authenticate with sudo -- you will need to install it, and then
configure /usr/local/etc/pam.d/sudo to use it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 931 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions