Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-16-2003, 11:00 AM   #1
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, 11:04 AM   #2
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, 05:02 AM   #3
Registered: Sep 2003
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]


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 11:38 AM
highlighting text in the console tommmmmm Linux - Newbie 10 08-10-2005 02:30 PM
How do I see all text in console? fannymites Linux - General 2 04-15-2005 06:01 PM
How to open up a text console? poler8tor Linux - Newbie 1 01-06-2005 08:18 PM
Console text gamehack Slackware 6 09-25-2004 04:00 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:11 AM.

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