From umitkaan.sonal at turkcell.com.tr Fri Mar 3 15:00:53 2006 From: umitkaan.sonal at turkcell.com.tr (umitkaan.sonal at turkcell.com.tr) Date: Fri, 3 Mar 2006 17:00:53 +0200 Subject: Monitoring commands given from a tty Message-ID: Hello, I want to follow what a person does, which commands does he/she gives, that connects to a certain tty -from ssh- (like pts/6). How can I track/monitor online? Even logging them and investigating later can be enough. We are using RedHat AS 2.1. Regards, Kaan ************************************************************************ Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir. TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye aittir ve TURKCELLin goruslerini yansitmayabilir Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir. ************************************************************************ This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted. TURKCELL makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TURKCELL. This e-mail has been scanned for all known computer viruses. ************************************************************************ From ch at code-heads.com Fri Mar 3 15:30:41 2006 From: ch at code-heads.com (CodeHeads) Date: Fri, 03 Mar 2006 10:30:41 -0500 Subject: Monitoring commands given from a tty In-Reply-To: References: Message-ID: <20060303103041.75808d90@FC5> On Fri, 3 Mar 2006 17:00:53 +0200 wrote: > > Hello, > > I want to follow what a person does, which commands does he/she gives, > that connects to a certain tty -from ssh- (like pts/6). > How can I track/monitor online? Even logging them and investigating > later can be enough. > > We are using RedHat AS 2.1. > > Regards, > Kaan > Let's give this a shot. I believe by default the shell keeps 1000 entries. $history = views the history of the commands $history -c = Clears the history Maybe you can do a cron or a daemon that redirects the list of commands to a text file. Something like this: #!/bin/bash $history > ~/command_history.txt $history -c done Just a thought. Someone else might have a better idea thou! :) -- Best regards, ~WILL~ Key: http://code-heads.com/keys/ch1.asc Key: http://code-heads.com/keys/ch2.asc Linux Commands: http://code-heads.com/commands Linux Registered User: 406084 (http://counter.li.org/) From sysadmin at bssnews.org Fri Mar 3 17:10:25 2006 From: sysadmin at bssnews.org (sysadmin) Date: Fri, 3 Mar 2006 23:10:25 +0600 Subject: Monitoring commands given from a tty References: Message-ID: <001001c63ee5$5ce78ef0$2100a8c0@sultan> Hostsentry and Logcheck are two programs you can try. The former tracks suspicious login activity and the later analyses the system log files and emails to your address. You can configure them to suit your needs. You can check for similar tools at- http://sourceforge.net/projects/sentrytools/ http://www.psionic.com/ Regards Sultan www.bssnews.net ----- Original Message ----- From: To: Sent: Friday, March 03, 2006 9:00 PM Subject: Monitoring commands given from a tty > > Hello, > > I want to follow what a person does, which commands does he/she gives, > that connects to a certain tty -from ssh- (like pts/6). > How can I track/monitor online? Even logging them and investigating > later can be enough. > > We are using RedHat AS 2.1. > > Regards, > Kaan > > > ************************************************************************ > Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi > tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi > icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin > icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz > kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz > gerekmektedir. > TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu > konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne > sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve > saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen > kisiye aittir ve TURKCELLin goruslerini yansitmayabilir > Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir. > ************************************************************************ > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient you are hereby notified > that any dissemination, forwarding, copying or use of any of the > information is strictly prohibited, and the e-mail should immediately be > deleted. > TURKCELL makes no warranty as to the accuracy or completeness of any > information contained in this message and hereby excludes any liability of > any kind for the information contained therein or for the information > transmission, reception, storage or use of such in any way whatsoever. > The opinions expressed in this message belong to sender alone and may not > necessarily reflect the opinions of TURKCELL. > This e-mail has been scanned for all known computer viruses. > ************************************************************************ > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > From jtrice at haastcm.com Fri Mar 3 17:58:04 2006 From: jtrice at haastcm.com (Trice, Jim) Date: Fri, 3 Mar 2006 11:58:04 -0600 Subject: Monitoring commands given from a tty Message-ID: Kaan, Check out the script command. When I want to follow along with a user I have them type "script". Then I "tail -f typescript" which gives me a pretty good idea what they are doing in the terminal. Jim Trice > Message: 1 > Date: Fri, 3 Mar 2006 17:00:53 +0200 > From: > Subject: Monitoring commands given from a tty > To: > Message-ID: > > > Content-Type: text/plain; charset=US-ASCII > > > Hello, > > I want to follow what a person does, which commands does he/she gives, > that connects to a certain tty -from ssh- (like pts/6). > How can I track/monitor online? Even logging them and investigating > later can be enough. > > We are using RedHat AS 2.1. > > Regards, > Kaan > > From sysadmin at bssnews.org Fri Mar 3 18:05:21 2006 From: sysadmin at bssnews.org (sysadmin) Date: Sat, 4 Mar 2006 00:05:21 +0600 Subject: Fw: Monitoring commands given from a tty Message-ID: <002b01c63eed$098c51c0$2100a8c0@sultan> Sorry, I did not know that Psionic has been acquired by Cisco Systems. So, the second link won't work. The first link doesn't contain Hostsentry. You can get both of them from the follwing url: http://phst.ph.mahidol.ac.th/Linux/software/ For configuration: http://www.onlamp.com/pub/a/onlamp/2002/11/14/trisentry.html?page=2 regards Sultan ----- Original Message ----- From: "sysadmin" To: Sent: Friday, March 03, 2006 11:10 PM Subject: Re: Monitoring commands given from a tty > Hostsentry and Logcheck are two programs you can try. The former tracks > suspicious login activity and the later analyses the system log files and > emails to your address. You can configure them to suit your needs. > You can check for similar tools at- > http://sourceforge.net/projects/sentrytools/ > http://www.psionic.com/ > > Regards > > Sultan > www.bssnews.net > > ----- Original Message ----- > From: > To: > Sent: Friday, March 03, 2006 9:00 PM > Subject: Monitoring commands given from a tty > > >> >> Hello, >> >> I want to follow what a person does, which commands does he/she gives, >> that connects to a certain tty -from ssh- (like pts/6). >> How can I track/monitor online? Even logging them and investigating >> later can be enough. >> >> We are using RedHat AS 2.1. >> >> Regards, >> Kaan >> >> >> ************************************************************************ >> Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi >> tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi >> icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin >> icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz >> kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz >> gerekmektedir. >> TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu >> konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin >> ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve >> saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen >> kisiye aittir ve TURKCELLin goruslerini yansitmayabilir >> Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir. >> ************************************************************************ >> This e-mail and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they are >> addressed. If you are not the intended recipient you are hereby notified >> that any dissemination, forwarding, copying or use of any of the >> information is strictly prohibited, and the e-mail should immediately be >> deleted. >> TURKCELL makes no warranty as to the accuracy or completeness of any >> information contained in this message and hereby excludes any liability >> of any kind for the information contained therein or for the information >> transmission, reception, storage or use of such in any way whatsoever. >> The opinions expressed in this message belong to sender alone and may not >> necessarily reflect the opinions of TURKCELL. >> This e-mail has been scanned for all known computer viruses. >> ************************************************************************ >> >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >> > From polamigo.gmu at gmail.com Fri Mar 3 20:44:20 2006 From: polamigo.gmu at gmail.com (Philip "Tomi" Olamigoke) Date: Fri, 3 Mar 2006 15:44:20 -0500 Subject: VLAN Configuration: looking for more information Message-ID: Hello, I am trying to use vlan trunking on a ES 4 server. I would like the server to have a 1 vlan-interface on each of my 8 vlans. After following the instructions I found here http://kbase.redhat.com/faq/dml_print.pl I still find that interfaces are not communicating on the right vlans. My question is where can I find out more information about how linux handles vlans to figure out what's wrong with my config. Thank you. Tomi -------------- next part -------------- An HTML attachment was scrubbed... URL: From sysadmin at bssnews.org Sat Mar 4 10:28:45 2006 From: sysadmin at bssnews.org (sysadmin) Date: Sat, 4 Mar 2006 16:28:45 +0600 Subject: VLAN Configuration: looking for more information References: Message-ID: <00a801c63f76$6aa755c0$2100a8c0@sultan> http://www.google.com/search?hl=en&lr=&q=vlan+configuration+linux regards Sultan ----- Original Message ----- From: Philip "Tomi" Olamigoke To: redhat-sysadmin-list at redhat.com Sent: Saturday, March 04, 2006 2:44 AM Subject: VLAN Configuration: looking for more information Hello, I am trying to use vlan trunking on a ES 4 server. I would like the server to have a 1 vlan-interface on each of my 8 vlans. After following the instructions I found here http://kbase.redhat.com/faq/dml_print.pl I still find that interfaces are not communicating on the right vlans. My question is where can I find out more information about how linux handles vlans to figure out what's wrong with my config. Thank you. Tomi ------------------------------------------------------------------------------ -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- An HTML attachment was scrubbed... URL: