Answer by l0b0 for Ubuntu nested bash shell
There already exists a solution for this: sudo. From man 5 sudoers: sudoers can log both successful and unsuccessful attempts (as well as errors) to syslog(3), a log file, or both. By default, sudoers...
View ArticleUbuntu nested bash shell
Thanks for any help. I'm helping configure a machine to log keystrokes using /usr/bin/script function. For each session, a log file is created that includes the POSIX time. $PS1 is changed to reflect...
View Article
More Pages to Explore .....