Click to See Complete Forum and Search --> : logging question
Rodrigo
05-08-2001, 02:30 PM
Hello!! I'm a linux newbie and I have a question.
I know there is a way to log all the commands that the terminals type in the shell. Does anyone know how to do that? I appreciate your help.
Rodrigo
Dark Ninja
05-08-2001, 05:33 PM
Sorry if this is not what you are looking for (I'm not sure I understood your question) but in order to log all the commands typed (if you are using bash shell, anyway) just view the .bash_history file in your home directory.
Dark Ninja
http://www.teamvirus.net/
Rodrigo
05-08-2001, 05:44 PM
Well, that's not exactly what I need.
What I meant was:
I want to know what commands the people who connect to my linux box are typing on the bash shell. I think there is a way to log everything that the remote users do, correct?
Thanks,
Rodrigo
Dark Ninja
05-08-2001, 10:14 PM
Ah...yeah, there is. I'm not familier enough with Linux to know what would do that. However, you could write a script that would just send their .bash_history's to you... :D
Just a thought.
Dark Ninja
http://www.teamvirus.net/
Rodrigo
05-09-2001, 06:36 PM
Hey, it's me again...
I was looking for this .bash_history file and it couldn't find it in any of the home directories. Do you have any ideia what's wrong?
Thanks,
Rodrigo