For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| # Wipe out disks from whatever they contain. | |
| root@mfsbsd:~ # dd if=/dev/zero of=/dev/nvd0 bs=1M status=progress | |
| dd: /dev/nvd0: short write on character devicesferred 1186.001s, 3237 MB/s | |
| dd: /dev/nvd0: end of device | |
| 3662831+0 records in | |
| 3662830+1 records out | |
| 3840755982336 bytes transferred in 1186.555877 secs (3236894322 bytes/sec) | |
| root@mfsbsd:~ # dd if=/dev/zero of=/dev/nvd1 bs=1M status=progress | |
| dd: /dev/nvd1: short write on character devicesferred 1187.004s, 3233 MB/s |
| ;; CL (ext:shell (...)) | |
| ;; SBCL (sb-ext:run-program (...)) |
How to change an iDRAC password using Racadm for a Dell R720 and similar servers.
TLDR:
# racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <newpassword>
This guide assumes you have OpenManage installed. It was tested with the following version of OpenManage:
| #!/bin/env sh | |
| lines=$(tput lines) | |
| cols=$(tput cols) | |
| awkscript=' | |
| { | |
| letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()" | |
| lines=$1 |
| -- Please set your vpn connection name and password here | |
| set VPNName to "VPN name" | |
| set VPNpassword to "VPN password" | |
| tell application "System Events" | |
| tell current location of network preferences | |
| set VPNService to service VPNName | |
| end tell | |
| set isConnected to connected of current configuration of VPNService |
Emacs packages, features, files, layers, extensions, auto-loading, require,
provide, use-package… All these terms getting you confused? Let’s clear up
a few things.
Emacs files contains code that can be evaluated. When evaluated, the functions, macros and modes defined in that file become available to the current Emacs session. Henceforth, this will be termed as loading a file.
One major problem is to ensure that all the correct files are loaded, and in the
I've frequently been bit by failures restarting my vpn on my Mac. The connection may appear to start up in Shimo (the menu icon will change) but it looks like vpnc can't connect.
Looking at the log, we see the connection gets stuck
ERROR: can't send packet: Can't assign requested address
This has plagued me for a while, and my only fix has been to restart the machine. I hate restarting my machine. So I finally made time to dig in and find a better solution
| # /usr/local/etc/smb4.conf | |
| # Samba 4.1 Configuration file | |
| [global] | |
| # SPECIFIC SETTINGS FOR THIS MACHINE | |
| netbios name = ZNAS1 | |
| # Basic settings | |
| workgroup = MYDOMAIN | |
| realm = MYDOMAIN.local |