Re: E-mail on SSH Login
From: Adam KOSA (adamk_at_sch.bme.hu)
Date: 03/30/04
- Previous message: Mark Riemann: "putty and ssh_init problem"
- In reply to: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Next in thread: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Reply: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Mar 2004 00:45:40 +0200
> > 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.
i don't see this as an ssh quiestion though.
cheers
adam
- Previous message: Mark Riemann: "putty and ssh_init problem"
- In reply to: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Next in thread: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Reply: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]