Re: E-mail on SSH Login
From: Adrian 'Dagurashibanipal' von Bidder (grazdan_at_fortytwo.ch)
Date: 03/30/04
- Next message: flonadin: "Re: ssh does not start"
- Previous message: Adam KOSA: "Re: E-mail on SSH Login"
- In reply to: Adam KOSA: "Re: E-mail on SSH Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Mar 2004 10:22:12 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Clinging to sanity, Adam KOSA mumbled in his beard:
>> > How can I notify every ssh login, with an E-mail ?
>> Does RH use pam to authenticate ssh? If so, coding a pam module would do
the
>> trick.
> I'm sure this is one way to go, but i'd prefer inserting
> echo "successful login, user $USER" | mail -s "login via ssh" email@addr
> to /etc/profile, as root. non-root users cannot remove this.
They can not remove it. But I wasn't sure if they can't suppress executing
it.
cheers
- -- vbi
- --
RAM disk is NOT an installation procedure.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: get my key from http://fortytwo.ch/gpg/92082481
iKcEARECAGcFAkBpLjRgGmh0dHA6Ly9mb3J0eXR3by5jaC9sZWdhbC9ncGcvZW1h
aWwuMjAwMjA4MjI/dmVyc2lvbj0xLjUmbWQ1c3VtPTVkZmY4NjhkMTE4NDMyNzYw
NzFiMjVlYjcwMDZkYTNlAAoJEIukMYvlp/fWEC8AoIRycWRUYRX2/PJN//2Gyb1I
xvr1AJ40nBlXbB3owdwlworfYgy+BPB2xA==
=Uno2
-----END PGP SIGNATURE-----
- Next message: flonadin: "Re: ssh does not start"
- Previous message: Adam KOSA: "Re: E-mail on SSH Login"
- In reply to: Adam KOSA: "Re: E-mail on SSH Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]