Advanced Search
Search Results
437 total results found
Firewalld Limit Remote Source Connections
(2019-02-14) Problem I have an internet-facing service that I want to restrict to a particular (set of) source address(es). The service can't do source-filtering on its own. Solution Define a new zone that includes the (set of) address(es) as valid sources, an...
Join AD
(2019-11-28) Problem # realm -v -U dave join mydomain.local [...] ! Couldn't create computer account: CN=NETMAN,CN=Computers,DC=mydomain,DC=local: 00002083: AtrErr: DSID-031519F7, #2: 0: 00002083: DSID-031519F7, problem 1006 (ATT_OR_VALUE_EXISTS), dat...
Samba AD Controller Notes
(2019-11-25) Backplot At a new customer site, I inherited a Active Domain that was hosted on a Samba. The previous admin made some sketchy choices by picking a CentOS 7 platform for some third-party RPMs (becaues CentOS doesn't ship an AD-capable samba; the sa...
Set Hostname To VM Name
(2019-11-28) Problem /t Solution For whatever reason, the vmware-tools package (and the open-vm-tools corresponding package) does not expose the name of the vm to the vm. Weird. You can, however, set your own value in the vm properties and then query it yourse...
Upgrading Fedora
(2019-03-18) Problem I want to update Fedora to another version. In General It is recommended to upgrade to the next version and not skip versions. Single-hop upgrades (27->28) are supported; double-hop upgrades (26->28) are supported for 30 days after the ini...
DHCP Reservation Not Working
A: dhclient now supports RFC-4361! (Please note that this is an answer to a question nobody asked.) Q: My Fedora Core system won't pick up a DHCP lease reservation! (Also: my dual-booting Fedora Core system won't pick up the same DHCP lease that the other OS o...
Running Fetchmail
Simple, in crontab: # /opt/sfw/bin/fetchmail -f /etc/fetchmailrc --syslog Interactively: # /opt/sfw/bin/fetchmail -v -e 5 --showdots -f /etc/fetchmailrc Switches of interest: Switch Definition -v verbose (double to see all the commands issued by fetch...
Find Tricks
Excluding stuff (say, the .snapshot directory of a find) $ find $dir -name .snapshot -prune -o -type f Dealing with names with spaces in them: $ IFS=' '; for f in $(find . -name "*mp3"); do echo command-mp3-2-ogg "$f"; done command-mp3-2-ogg ./How Long.mp3 co...
makeinfo build error
2013-05-15 Problem Building gcc 4.1.2 on CentOS 6 halts with the error: WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of...
gcc on Solaris 8
These are some potentially useful things to know when fighting with gcc on Solaris (Solaris 8 in my case). I keep having to go off and learn this, so this time I'm writing the damn information down. configure --prefix=/where/to/stick/it Sometimes you might thi...
getarp
A perl script to get the ARP table out of a router. Requires Net::SNMP, Net::hostent, and Sys::Syslog getarp [-s IP [-c STRING ]] [TARGETIP] -s IP query the router at IP -c STRING use STRING as the SNMP community TARGETIP only p...
Squashing multiple commits into one
(2017-09-14) Squashing multiple commits into one: git log shows you the history: [dave@store02 ansible]$ git log commit 777574670a1c5dccc91f12320a811759163e4ff9 Author: David Mackintosh <dave@gridway.net> Date: Thu Sep 14 12:20:31 2017 -0400 davem.sh ha...
Grow Linux Filesystem
Problem I need to make a disk bigger Solution Resize the disk: $ gcloud compute disks list | grep home home us-central1-f zone 500 pd-ssd READY home-ssh-keys us-central1-f zone 400 ...
What is my Google OpenID Login URL?
Google expects you to use the "Directed Identity" feature to sign in with your Google account. Enter into the box the following string: https://www.google.com/accounts/o8/id ...and you should end up logged in as a URL at google.com with a humongous string of...
About GPG
You may have been directed to this page by Dave's email signature, and because you noticed some kind of mystery attachment to Dave's email message that your client can't or won't deal with (or even is giving you dire warnings that the attachment is evil ). Thi...
insecure memory
Basically this boils down to the application being unable to exclusively lock the memory page because it doesn't have root powers. To fix this, set-UID-root /usr/bin/gpg. # chmod 4555 /usr/bin/gpg The 'official page' at http://www.gnupg.org/faq.html is much w...
GPG Key Server Operations
The server subkeys.pgp.net is the preferred keyserver (for various reasons expounded at length elsewhere). Adding your key to the keyserver: [jupiter]gpg --send-keys --keyserver subkeys.pgp.net dave@xdroop.com gpg: success sending to `subkeys.pgp.net' (status...
GPG-aware mail clients and plugins
(Note, 2024: man, the '90s were a long time ago, right?) You may find a starting point here: www.gnupg.org/(en)/documentation/faqs.html#q4.15 Note that you'll have to copy-and-paste this URL into your browser because SnipSnap can't deal with URLs which have ...