Place to run script command for all user/sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,
I would like to record user commands in terminal mode for remote
supporters. I currently do that with the command "script - make
typescript of terminal session".

So far so good as long as I run a combo os screen/script at the
command prompt, allow remote worker to control screen session  and
then at the end I do ctrl-d to save the script session.

This however do not work (or at least is not practical) when I want to
allow someone to login via SSH directly and unattended.

What will be the place to insert "script" in order to call it for each
login/logoff and sudo executions?

As an alternative for my fellow coworkers I have setup a Windows 10 PC
with putty and Teamviewer/AnyDesk  on it. Remote supporters go into
the Teamviewer/AnyDesk pc and then SSH using putty into the specified
Linux box. Putty is setup as to record the entire session
automatically. Linux boxes dont have GUI.

Linux Boxes are Centos 7 x64 and only 3 are Centos 8 x64.

Thanks for your comments.

-- 

---------------------
Erick Perez
---------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux