Plugin to simulate a user login?

Olaf Hoyer ohoyer at ohoyer.de
Mon May 31 00:02:20 CEST 2004


On Fri, 28 May 2004, Steve Gilbert wrote:

> Sorry if this has been asked before, but my searches didn't turn up
> anything.  Just hoping somebody can help me not have to reinvent the
> wheel...
>
> I need a plugin that will ssh and/or telnet to a Unix (Linux and
> Solaris) host and performn an actual login.  Ie, it needs to log in with
> an actual username and password and confirm that everything works okay.
> This would confirm that logins, NIS, automounter, etc. are all working.
>

Well, the short way would be to use ssh host keys, that means, keys
without a passphrase. So check_by_ssh can log into an existing account,
and perform some more checks there...

HTH
Olaf


-- 
Olaf Hoyer        ohoyer at gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list