Had to do this recently, couldn’t remember how to do it… mstsc.exe /admin /v:your..
Category : Uncategorized
Strace useful – https://linux-audit.com/the-ultimate-strace-cheat-sheet/ strace -p PID -e trace=network -e trace=ipc – Track communication between processes (IPC) -e trace=memory – Track memory syscalls -e trace=network – Track memory syscalls -e trace=process – Track process calls (like fork, exec) -e trace=signal – Track process signal handling (like HUP, exit) -e trace=file – Track file related syscalls ..
Thought Maldet would just find manky files, it didn’t, I just wanted it to see the obvious, it did eventually after I did.. 1) Install Clam AV (By googling CentOS7 clamav as you do, cheers mate) yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd -y 2) Configure daemon cp /usr/share/clamav/template/clamd.conf /etc/clamd.d/clamd.conf sed ..
Was unable to connect to DB, checked MySQL error log saw: /usr/sbin/mysqld: Table ‘./my_db/my_table’ is marked as crashed and should be repaired Logged onto MySQL, did this; USE my_db; REPAIR TABLE my_tab..
Original yum -y install yum-cron systemctl start yum-cron systemctl enable yum-cron Usage vi /etc/yum/yum-cron.conf Edit update_cmd = security apply_updates = yes emit_via = email@address Restart systemctl restar..
Grab the list from the servers rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server1.txt rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server2.txt Copy the files over to where you want to compare, probably one of the servers in question. for R in $(cat server1.txt) ; do grep $R server2.txt >/dev/null || echo..
Taken from – https://us.community.samsung.com/t5/Others/How-to-use-Secure-Erase-on-an-SSD-when-you-only-have-one-SATA/td-p/103566 1)First, Install FreeDOS onto a USB stick. The easiest way I found to do it is: Download Rufus (lets you make bootable USB disks) In Rufus, select your USB drive from the drop-down menu at the top Change the file system format to FAT32 Check the box to make the drive ..
Can never remember: Remote Desktop Session Host Configuration – tsconfig.msc Restrict each user to a single sess..
Well this was a bugger, mainly because I fart arsed about setting up NGINX/PHP-FPM individual pools on a UAT box using a script I found on that there “internet”. To be fair it is a good script, but I was too lazy for my own good and didn’t debug well. Here it is. Moral of ..
Used this, slightly asha..