Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: Re: (no subject) another thought

Subject: Re: (no subject) another thought

2007-01-03       - By JohnH

 Back
This reminded me of something else. I used to have a basic program in dos that
would log the time and date that someone started the computer. Is there such a
thing in Linux and could it show who as well as when?

JohnH
pctech@(protected)
 -- -- Original Message -- --
 From: Gildersleeve, Mike
 To: Discussion of Red Hat Linux 9 (Shrike)
 Sent: Wednesday, January 03, 2007 7:38 AM
 Subject: RE: (no subject)


 Try a cron job, every 5 min, that runs a script that runs the who command an
grep for the user if the value is returned then log it to a file or something.
Or run a script in their .login or .profile that dumps to a .log file.  Make
sure that the permissions are set correct or they may wonder what the write
error is all about.
   -- --Original Message-- --
   From: shrike-list-bounces@(protected) [mailto:shrike-list-bounces@(protected)
]On Behalf Of Harry, Hambi
   Sent: Wednesday, January 03, 2007 7:25 AM
   To: shrike-list@(protected)
   Subject: (no subject)


   Hi All,
   Is there a way to automatically execute a command when a user logs on to a
linux?.

   Rgds.

   Harry.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----


 --
 Shrike-list mailing list
 Shrike-list@(protected)
 https://www.redhat.com/mailman/listinfo/shrike-list


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----


 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 1/2/2007 2:58
PM

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>This reminded me of something else. I used to have
a basic program in dos that would log the time and date that someone started
the
computer. Is there such a thing in Linux and could it show who as well as
when?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>JohnH</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:pctech@(protected)">pctech@(protected)</A></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=mgilder@(protected) href="mailto:mgilder@(protected)">Gildersleeve,
 Mike</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A title=shrike-list@(protected)
 href="mailto:shrike-list@(protected)">Discussion of Red Hat Linux 9
 (Shrike)</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 03, 2007 7:38
 AM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: (no subject)</DIV>
 <DIV><BR></DIV>
 <DIV><SPAN class=005313413-03012007><FONT face=Arial color=#0000ff size=2>Try
 a cron job, every 5 min,&nbsp;that runs a script that runs the who command an
 grep for the user if the value is returned then log it to a file or
 something.&nbsp; Or run a script in their .login or .profile that dumps to a
 .log file.&nbsp; Make sure that the permissions are set correct or they may
 wonder what the write error is all about.</FONT></SPAN></DIV>
 <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
   <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
   size=2>-- --Original Message-- --<BR><B>From:</B>
   shrike-list-bounces@(protected) [mailto:shrike-list-bounces@(protected)]<B>On
   Behalf Of </B>Harry, Hambi<BR><B>Sent:</B> Wednesday, January 03, 2007 7:25
   AM<BR><B>To:</B> shrike-list@(protected)<BR><B>Subject:</B> (no
   subject)<BR><BR></FONT></DIV>
   <DIV><FONT face=Arial size=2><SPAN class=520192312-03012007>Hi
   All,</SPAN></FONT></DIV>
   <DIV><FONT face=Arial size=2><SPAN class=520192312-03012007>Is there a way
   to automatically execute a command when a user logs on to a
   linux?.</SPAN></FONT></DIV>
   <DIV><FONT face=Arial size=2><SPAN
   class=520192312-03012007></SPAN></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2><SPAN
   class=520192312-03012007>Rgds.</SPAN></FONT></DIV>
   <DIV><FONT face=Arial size=2><SPAN
   class=520192312-03012007></SPAN></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2><SPAN
   class=520192312-03012007>Harry.</SPAN></FONT></DIV></BLOCKQUOTE>
 <P>
 <HR>

 <P></P>-- <BR>Shrike-list mailing
 list<BR>Shrike-list@(protected)<BR>https://www.redhat.com/mailman/listinfo
/shrike-list
 <P>
 <HR>

 <P></P>No virus found in this incoming message.<BR>Checked by AVG Free
 Edition.<BR>Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date:
 1/2/2007 2:58 PM<BR></BLOCKQUOTE></BODY></HTML>

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list