using ssh authentication with sudo
- From: "Eric S. Johansson" <esj@xxxxxxxxxx>
- Date: Sun, 20 May 2007 11:17:00 -0400
there is a number of ways I could be missing something obvious so I apologize in advance.
My idea is should be possible to grant sudo access with your ssh credentials. the logic is that once the server has granted access to a client based on its ssh keys, it should be possible to use the same authentication to grant sudo privileges. After all, if a key pair is good enough to get you into one machine, why isn't it good enough to grant you the full Monty?
Assuming that it is, how could a local program determine that the process it is running in has done so via ssh key authentication. Would it query the agent directly? Would it be able to use agent forwarding? Or is this a really bad idea that I should just give up on?
---eric
- Follow-Ups:
- Re: using ssh authentication with sudo
- From: Hari Sekhon
- Re: using ssh authentication with sudo
- From: Jeremy C. Reed
- Re: using ssh authentication with sudo
- From: Justin Alcorn
- Re: using ssh authentication with sudo
- Prev by Date: setreuid failed (was: SSH daemon doesn't accept incoming connections)
- Next by Date: SFTP and umask
- Previous by thread: setreuid failed (was: SSH daemon doesn't accept incoming connections)
- Next by thread: Re: using ssh authentication with sudo
- Index(es):
Relevant Pages
|