LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2003, 12:00 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Log all console text


I have a server with several users who have ssh access and I would like to be able to have a log of everything they type in, I want something better than .bash_history, something that would at least log everything they type into the mysql and other programs.

If you know of some way I could do that it would be very helpful to me, thanks.
 
Old 10-16-2003, 12:04 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
you could try typescript (the command is script)
 
Old 10-17-2003, 06:02 AM   #3
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
Isn't script merely for the user who issues that command?
Then ofcourse, you could add a user-specific line in a boot file (say /etc/rc.local) and let script be started everytime a user logs in.

usage: script [-a] [-f] [-q] [-t] [file]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a color text console? dejavu_01 Debian 1 08-30-2005 12:38 PM
highlighting text in the console tommmmmm Linux - Newbie 10 08-10-2005 03:30 PM
How do I see all text in console? fannymites Linux - General 2 04-15-2005 07:01 PM
How to open up a text console? poler8tor Linux - Newbie 1 01-06-2005 09:18 PM
Console text gamehack Slackware 6 09-25-2004 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration