* Horst Pflugstaedt ([EMAIL PROTECTED]) [060923 10:53]:
> On Thu, Sep 21, 2006 at 03:37:56PM -0400, Morgan Walker wrote:
> >
> > Thanks Michelle that worked perfect. Is there an easy variable I could
> > throw in there that you know off hand which would include the time
> > (MM/DD/) as well?
On Thu, Sep 21, 2006 at 03:37:56PM -0400, Morgan Walker wrote:
>
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
Apart from the suggestions to use ${ date }, does the date of the
On Thu, Sep 21, 2006 at 03:37:56PM -0400, Morgan Walker wrote:
>
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
TIME=`date +%m/%d/%Y`
--
--
In article <[EMAIL PROTECTED]> you wrote:
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
NOW=`date`
Gruss
Bernd
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject o
Am 2006-09-21 15:37:56, schrieb Morgan Walker:
>
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
8<--
#/etc/profile
L
On 2006-09-21 15:37:56 -0400 Morgan Walker <[EMAIL PROTECTED]> wrote:
Thanks Michelle that worked perfect. Is there an easy variable I
could
throw in there that you know off hand which would include the time
(MM/DD/) as well?
echo "The User ${LOGNAME} has loged in on `date`." |\ ...
(th
On Thursday 21 September 2006 12:37 pm, Morgan Walker wrote:
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
$( date ) will add the current date and time. You can read the man pa
This one time, at band camp, Morgan Walker said:
>
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/) as well?
echo "The User ${LOGNAME} has logged in at $(date -R)" |\
mail -s "user lo
PM
To: debian-security@lists.debian.org
Subject: [OT] Re: email notifications when users login
Hi Morgan,
Am 2006-09-18 15:34:30, schrieb Morgan Walker:
> Hey guys,
>
> I was just wondering if there was a package/script out there that
could
> be used to notify the sys. admin every
Hi Morgan,
Am 2006-09-18 15:34:30, schrieb Morgan Walker:
> Hey guys,
>
> 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.
#/etc/profile
echo "The User ${LOGNAME} has loged in." |\
Am 2006-09-18 15:44:26, schrieb Gregory Arntson:
> Let's try not hitting the enter key this time... Morgan, if for examples
> all of the users use the bash shell you could create a .bashrc that and the
> end of everything would notify the intended admins when the person logged
> in. From there all
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
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
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
Morgan Walker wrote:
Hey guys,
Hi,
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.
A very simple script to notify me when users log on:
$ cat /etc/ssh/sshrc
#!/bin/bash
IFS="
"
nail -s
I have a perl script that goes into daemon mode using log::tail that
notifies me via e-mail whenever anyone logs in from the command line. It
is open to anyone who wants it. Just let me know if you do. I think I even
commented it. Using log::tail it uses very few resources.
Rod
On Mon, September
, 2006 3:46 PM
To: Morgan Walker
Cc: debian-security@lists.debian.org
Subject: Re: email notifications when users login
I'm not quite sure if this is the right list to ask that kind of
question, but, there is a package name logcheck, it send email for
everything that happend on system logs
I'm not quite sure if this is the right list to ask that kind of
question, but, there is a package name logcheck, it send email for
everything that happend on system logs, and anything else you said,
also you can use perl-like regular expresion to filter the email that
logcheck sends to you, read
Let's try not hitting the enter key this time... Morgan, if for examples all of the users use the bash shell you could create a .bashrc that and the end of everything would notify the intended admins when the person logged in. From there all you would need to do is to copy it to all of the home di
Morgan,On 9/18/06, Morgan Walker <[EMAIL PROTECTED]> wrote:
Hey guys,
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.
Thanks in advance,
Morgan
Morgan Walker
Hey guys,
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.
Thanks in advance,
Morgan
Morgan Walker
Systems Administrator/Engineer
M•CAM, Inc.
Omni Business Center
210
Ri
21 matches
Mail list logo