[Gllug] sudo authentication against ssh key
James Hawtin
oolon at ankh.org
Mon Jul 20 12:35:43 UTC 2009
On Mon, Jul 20, 2009 at 01:19:38PM +0100, Minty wrote:
> Does anyone if it is possible (& how) to authenticate a sudo user
> against their ssh key, rather than a password?
>
> I'm want to allow a user password-less sudo (to named commands
> controlled via /etc/sudoers) if and only if they've connected via ssh
> using their key.
You might be able to do something via pam, there is a pam_ssh project, on
source forge, is a nice blog entry about pam_ssh
http://www.clasohm.com/blog/one-entry?entry_id=12085
James
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list