[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#595817: ITP: libpam-ssh-agent -- PAM module providing authentication via ssh-agent



On Mon, Sep 6, 2010 at 9:57 PM, Timo Juhani Lindfors
<timo.lindfors@iki.fi> wrote:
> Matt Brown <mattb@debian.org> writes:
>> This pluggable authentication module (PAM) provides authentication via secure
>> shell (SSH) agent.  Written with sudo in mind, but like any auth PAM module,
>> can be used for many purposes.
>
> Is there any way to see what sudo command is being authenticated?

sudo logs the command being run as part of it's standard logging, e.g:

Sep  6 21:18:45 neon sudo[1589]: pam_ssh_agent_auth: Authenticated:
`matt' as `matt' using /etc/security/authorized_keys
Sep  6 21:18:45 neon sudo:     matt : TTY=pts/1 ; PWD=/home/matt ;
USER=root ; COMMAND=/bin/bash

-- 
Matt Brown
matt@mattb.net.nz
Mob +353 86 608 7117 www.mattb.net.nz



Reply to: