Re: email notifications when users login

2006-09-19 Thread Marco Müller
Dave Carrigan wrote: On Monday 18 September 2006 15:08, Marco Müller wrote: IFS=" " nail -s "Login to by $USER" root < . $ where 'root' is the user this Mail is being mailed to. Nail is a mailer like mail and expects a dot to commit EOM. Just to nitpick, but your syntax of "nail ... <." is

Re: email notifications when users login

2006-09-19 Thread Dave Carrigan
On Monday 18 September 2006 15:08, Marco Müller wrote: > IFS=" > " > nail -s "Login to by $USER" root < . > $ > > > where 'root' is the user this Mail is being mailed to. Nail is a mailer > like mail and expects a dot to commit EOM. Just to nitpick, but your syntax of "nail ... <." is not sendin

Re: email notifications when users login

2006-09-19 Thread Izak Burger
On 9/18/06, Morgan Walker <[EMAIL PROTECTED]> wrote: I was just wondering if there was a package/script out there that could be used to notify the sys. admin every time a user logged into a debian system. The simplest two ways, as was already noted, is to add something to /etc/profile or some o