sudo alternatives; for the minimalists

Matthew Seaman 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.

	Cheers,

	Matthew




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170314/2145e085/attachment.sig>


More information about the freebsd-questions mailing list