Hi,
Is there away i can either monitor or output to a file the cmds someone is writing in from there tty /pty.
Problem is several of us have root access , and i sometimes need to see what commads my collegues have entered.
I did try following:
while
true
do
exec fc -l 1
sleep 60
done
but this is not sending me any output
also .sh_history is not showing me anything
Many thanks
Is there away i can either monitor or output to a file the cmds someone is writing in from there tty /pty.
Problem is several of us have root access , and i sometimes need to see what commads my collegues have entered.
I did try following:
while
true
do
exec fc -l 1
sleep 60
done
but this is not sending me any output
also .sh_history is not showing me anything
Many thanks