Is there anyway to make a background service capture all the commands executed by a user and also save the output in a text file?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this community
auditd
which can monitor your system, but recoding the outputs of all commands is difficult. Why do you need this? See security.stackexchange.com/questions/4607/linux-command-loggingscript
command to log a terminal session to a file.