
Where to check log of sendmail? - Server Fault
You can create your own log file [admin@local ~]# killall sendmail [admin@local ~]# touch /var/log/sendmail.log [admin@local ~]# sendmail -bd -q15m >> /var/log/sendmail.log and then …
How do I log all input and output in a terminal session?
2012年7月10日 · Hi, thanks for the reply. But will this work if I login to the mysql database from the shell using the following sequence:- 1) script screen.log 2)mysql -u <user> -p <database> …
How can I free space from a massive 39.5GB /var/log/ folder?
I had and issue with enormous log files (like 100G each) with some useless messages from gnome 'cannot find video buffer' or something. Doing: sudo rm -rf /var/log/user.log sudo rm -rf …
How to find out from the logs what caused system shutdown?
E.g. I'm seeing this in /var/log/messages: Mar 01 23:12:34 hostname shutdown: shutting down for system halt Is there a way to find out what caused the shutdown? E.g. was it run from console, or
Logging SSH access attempts - Unix & Linux Stack Exchange
2014年7月12日 · Note that the default configuration on Ubuntu is to NOT log ssh logins to the /var/log/auth file. This is the INFO logging level. If you want to have it include login attempts in …
How can I fully log all bash scripts actions? - Server Fault
Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their …
How to log commands within a "sudo su - Unix & Linux Stack …
The command (sudo -) is logged, and your updated output shows this.That's all we are talking about here. The other commands, such as the echo after you switch users with sudo -, are not …
How do I log every command executed by a user? - Server Fault
2011年11月30日 · Even when the user executes a shell command from some editor like vim I want to see them in the log file. I have checked the tool acct but it is not listing the complete …
Understand logging in Linux - Unix & Linux Stack Exchange
2015年5月27日 · libc sends these messages to the UNIX domain socket /dev/log (where they are read by syslogd(8)), but if an application is chroot(2)-ed the messages might end up being …
Where are my sshd logs? - Unix & Linux Stack Exchange
Not in /var/log/auth.log; Not in /var/log/secure; Did a system search for 'auth.log' and found nothing; I've set /etc/ssh/sshd_config to explicitly use SyslogFacility AUTH and LogLevel INFO …