Re: Action if login happened
- Subject: Re: Action if login happened
- From: Thorsten Kukuk <kukuk@xxxxxxx>
- Date: Thu, 15 Jan 2009 22:56:28 +0100
- In-reply-to: <496F90AE.9000807@xxxxxx>
- Organization: SUSE LINUX Products GmbH, Nuernberg, Germany, GF: Markus Rex, HRB 16746 (AG Nuernberg)
- References: <496F90AE.9000807@xxxxxx>
- User-agent: Mutt/1.5.9i
On Thu, Jan 15, Sascha Ochsenknecht wrote:
> Hi,
>
> I would like to execute a command whenever somebody tries to login on a
> machine. The command should have following information (via env or
> something else):
>
> a) username
> b) login successful / login failed
> c) if failed -> why? (password wrong or non-existing username)
I think what you are looking for is "audit". Use the audit framework
and a Linux-PAM version which is compiled with audit enabled.
Thorsten
--
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list
[Fedora Users]
[Kernel]
[Red Hat Install]
[Linux for the blind]
[Gimp]