postfixadmin – zmiana hasła administratora
doveadm pw -s MD5-CRYPT -p password | sed 's/{MD5-CRYPT}//'
update admin set password=’CRYPTED PASSWORD’ where username=’USERNAME’;
doveadm pw -s MD5-CRYPT -p password | sed 's/{MD5-CRYPT}//'
update admin set password=’CRYPTED PASSWORD’ where username=’USERNAME’;
Bitdefender Security for Virtualized Enviroments
default login: root
default password: sve
setup command: sva-setup
communication server: ip address:8443
update server configuration: ip:7076
gammu sendsms TEXT 048123456789 -text "Halooo .."
openssl x509 -in signed_cert.der -inform DER -out server.crt
add option
-DWITH_JEMALLOC=NO
to slackbuild
1. Check HDD for bad block
sudo badblocks -v /dev/sda1 > bad-blocks
2. Pass the file to fsck
sudo fsck -t ext4 -l bad-blocks /dev/sda1
in bash script
tr -dc A-Za-z0-9_ < /dev/urandom | head -c 16 | xargs
function in $HOME/.bashrc
genpasswd() {
local l=$1
[ "$l" == "" ] && l=16
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs
}
recompile pcre with option
–enable-utf8 –enable-unicode-properties
cpan -r
or
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Error: java.io.FileNotFoundException: /logs/debug.log (No such file or directory)
Solution:
edit file “./lib/log4j.xml” and replace “{$openfireHome}” with absolute path to logs