Replace [your key] with your key ID
To obtain your key ID
gpg --list-secret-keys --keyid-format LONG
Which returns something like
Computer Information: | |
Manufacturer: System76 | |
Model: Kudu | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz | |
CPU Family: 0x6 | |
CPU Model: 0x9e |
The drivers and instructions were originally written by Paul Newall and obtained from Sourceforge (which requires an obscene amount of 3rd party scripts to be whitelisted just to get to the downloads) - so I'm posting these to Github incase anyone else with this printer needs easier access to the install instructions. I also had to do a few extra steps to get the scanner working on Debian, so I compiled my steps with Paul's.
These are the steps taken to get both the printer and scanner working on Debian; if running a Debian derivative like Ubuntu or Mint, the steps should be identical.
Although these steps were for the Kodak ESP Office 2150, nearly any supported printer should work with these steps (except for the part where you obtain & upload the .ppd driver; if using a different model printer, snag your particular driver from the project's Sourceforge page).
Instructions applicable for Debian or Debian deriatives like Ubuntu. To use for other distros or directories, simply switch the affected directories in the steps.
In this example, the user group is "angela," change that to whatever group you wish to grant access, like "devs"
As root, set the acl:
setfacl -m g:angela:rx /var/log/apache2/*
#!/bin/bash | |
# block annoying http hits that litter your logs with CSF. | |
# for use with an existing, operable install of CSF firewall; find it at: https://configserver.com/cp/csf.html | |
# place this file in /etc/csf/ with the filename csfpost.sh; like so: /etc/csf/csfpost.sh | |
# make it executable: chmod u+x csfpost.sh | |
# after you add/modify your preferred rules, run: csf -r so the firewall restarts with these rules loaded. | |
# don't block this if you use xmlrpc.php in WordPress | |
/sbin/iptables -I INPUT -p tcp --dport 80 -m string --to 1000 --string "xmlrpc.php" --algo kmp -j DROP | |
# if you have any URLs with "admin" in the url, expect them to be broken after this rule takes effect |