Tag Info

New answers tagged

1

I made it on my own! :) Maybe someone will use it. Answer is here, however second and third line didn't work for me. As always some archive problem. Neverthless it was because of the nvidia, I will never move it again. sudo apt-get purge nvidia-* sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core ...


0

From the policykit documentation: The log() method writes the given message to the system logger prefixed with the JavaScript filename and line number. Log entries are emitted using the LOG_AUTHPRIV flag meaning that the log entries usually ends up in the file /var/log/secure. The log() method is usually only used when debugging rules. The Action ...


0

try this (the solutions above will not work 100% with bash 4.3): export HISTTIMEFORMAT="%Y-%m-%d %T " export PROMPT_COMMAND='trap "" 1 2 15; history -a >(tee -a ~/.bash_history | while read line; do if [[ $line =~ ^#[0-9]*$ ]]; then continue; fi; logger -p user.info -t "bash[$$]" "($USER) $line"; done); trap 1 2 15;' this does the logging AND it ...


0

Are there many methods how clear/delete log files. Some of log you can delete, some not and some you can truncate. For linux system log (such as mail.log for example) I use this method. Steps 1 and 2 are optional, but sometines you need check older logs and backup is sometimes useful. ;-) Optional: Copy log file cp file.log file.log.old Optional: Use ...


0

According to ldconfig manual: ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld- linux.so. So, when you ...


0

The /var/log/samba/log.audit file must have syslog as the owning user, and adm as the owning group. If it is not like this, run: sudo chown /var/log/samba/log.audit syslog:adm



Top 50 recent answers are included