|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Send email on login. How?
I have a system that serves as an ssh access point for my home network. It was a Linux system but I'm moving it to OpenBSD.
Only ssh is permitted and I am the only person who would login. In Linux, I used this technique so that an email was sent every time someone logged in: http://blog.th-neumeier.de/2011/02/s...gin-using-pam/ Unfortunately, that relies on on PAM, which OpenBSD doesn't use. I'm wondering how I can achieve the same thing in OpenBSD? Some thoughts I've had: - Maybe it's a better idea to have something watch the auth log or receives auth system logs and sends emails? Then of course I have to find that something and configure it. - I honestly haven't spent a lot of time with syslog and could research to see if it can send email or call arbitrary scripts. - I could do this as part of my user .profile or as part of /etc/profile I'm sure some security graybeard will come along and tell me why this is all silly and not adding to my security and that's fine, too :-) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best moment to send a port update | albator | OpenBSD Packages and Ports | 26 | 9th May 2015 03:31 PM |
Send Syslogd To External Host | plexter | OpenBSD General | 2 | 18th July 2011 08:11 PM |
send mails with postfix | wesley | OpenBSD Packages and Ports | 1 | 18th August 2010 07:34 PM |
send files to email | milo974 | OpenBSD General | 7 | 1st September 2008 02:03 PM |
Send email to all local users | cajunman4life | FreeBSD General | 8 | 15th June 2008 10:52 AM |