Re: (no subject) another thought

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----- Original Message -----
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@xxxxxxxxxx [mailto:shrike-list-bounces@xxxxxxxxxx]On Behalf Of Harry, Hambi
Sent: Wednesday, January 03, 2007 7:25 AM
To: shrike-list@xxxxxxxxxx
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@xxxxxxxxxx
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
-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux