ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. JaredBusch
    3. Topics
    • Profile
    • Following 0
    • Followers 44
    • Topics 969
    • Posts 29,707
    • Groups 1

    Topics

    • JaredBuschJ

      WP-CLI tries to use sendmail

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion wordpress wp-cli sendmail
      6
      0 Votes
      6 Posts
      871 Views
      JaredBuschJ

      thanks. missed that

    • JaredBuschJ

      Permission issue with WP-CLI on Fedora 31

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wordpress wp-cli fedora 31 fedora permissions
      2
      1 Votes
      2 Posts
      569 Views
      scottalanmillerS

      @JaredBusch yeah, it's annoying that WP-CLI struggles with that.

    • JaredBuschJ

      pull substring from string in bash

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion bash scripting asterisk
      4
      0 Votes
      4 Posts
      590 Views
      JaredBuschJ

      said script

      [jbusch@pbx ~]$ cat unpause_all.sh #!/bin/sh set -e rasterisk -x "queue show ${1}" | grep paused | grep -o Local.*/n | while read -r member do rasterisk -x "queue unpause member ${member} queue ${1}" done
    • JaredBuschJ

      Exchange 2013 not sending email to Junk Folder

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion exchange 2013 on-premise spam
      14
      1 Votes
      14 Posts
      1k Views
      JaredBuschJ

      @manxam said in Exchange 2013 not sending email to Junk Folder:

      Wonder if this is a legacy setting brought forward from SBS 2008.. Regardless, changing it to 4 like you did should likely fix your issue going forward.

      Possibly. Time will tell if mail start going to Junk or not.

    • JaredBuschJ

      ZeroTier Flow Rules

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion zerotier flow rules
      15
      0 Votes
      15 Posts
      6k Views
      I

      Sorry about dragging this old topic back but, it is probably the most relevant to what I'm looking for.

      I have been trying to get the ZeroTier FlowRules to work but must be doing something wrong. My ruleset is very close to what @JaredBusch has but, the ZeroTier nodes don't work as expected.

      When I leave the final accept statement, ZeroTier passes all traffic. When I comment out that last accept all traffic stops.

      # Allow only IPv4, IPv4 ARP # drop not ethertype ipv4 and not ethertype arp # Drop IPv6 Ethernet frames. # and not ethertype ipv6 ; # # # Uncomment to drop non-ZeroTier issued and managed IP addresses. # # This prevents IP spoofing but also blocks manual IP management at the OS level and # bridging unless special rules to exempt certain hosts or traffic are added before # this rule. # #drop # not chr ipauth #; accept ipprotocol tcp and dport 80 ; # Accept anything else. This is required since default is 'drop'. accept;

      Any help on what I'm doing wrong will be greatly appreciated.

    • JaredBuschJ

      Skyetel forwarding issue

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion skyetel e.164 failover forward calls
      1
      3 Votes
      1 Posts
      351 Views
      No one has replied
    • JaredBuschJ

      Need a Powershell script to move these files

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion powershell scripting
      10
      1 Votes
      10 Posts
      759 Views
      JaredBuschJ

      Going to work on this, finally, after dinner tonight.

      Thanks for those that posted.

    • JaredBuschJ

      Need POS recommendations

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion pos recommendations
      5
      0 Votes
      5 Posts
      728 Views
      J

      @WrCombs said in Need POS recommendations:

      there is also Clover Systems - Which isn't terrible, Lots of bars use this system

      We see Clover everywhere, including at the cash counter for Municipalities for tax and water bill payments.

    • JaredBuschJ

      Disable update checks in the Nextcloud client (windows)

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion nextcloud sync client updates registry windows nextcloud
      14
      3 Votes
      14 Posts
      3k Views
      JaredBuschJ

      @black3dynamite said in Disable update checks in the Nextcloud client (windows):

      @JaredBusch said in Disable update checks in the Nextcloud client (windows):

      jsut upgraded a system from 2.5 something. I made sure the key was set first.

      after the upgrade it is gone.

      37ce8b3e-b622-417f-9771-e93c6f5d7f78-image.png

      What a pain in the ass.

      Where did you add the registry key?
      HKLM\SOFTWARE\Policies\Nextcloud GmbH\Nextcloud?

      I did not add the second key because that was to prevent user override? My users don't have admin rights so even if they attempted ot override, it would never work.

    • JaredBuschJ

      3rd party spam filter solution pricing

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion spam filtering email spam
      45
      0 Votes
      45 Posts
      4k Views
      JaredBuschJ

      @Natchos said in 3rd party spam filter solution pricing:

      We have been using MS Exchange Online Protection for the last 8 years. It's been working good with our on-premise Exchange server.
      Price we pay is 18.99$ per user per year. We are almost at 50 users.

      I signed up for this. It was only $1/user/month

      Switched things today. So far, all is working normally.

    • JaredBuschJ

      Upgrading Debian 9 to 10

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion debian debian 9 debian 10 upgrade
      12
      7 Votes
      12 Posts
      1k Views
      FATeknollogeeF

      2nd attempt worked!

    • JaredBuschJ

      Any good getting started with Hugo resources

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion hugo
      44
      1 Votes
      44 Posts
      4k Views
      stacksofplatesS

      @JaredBusch said in Any good getting started with Hugo resources:

      @stacksofplates said in Any good getting started with Hugo resources:

      cp -R themes/theme/examplesite/* .

      Why do this? Why can't I just create my own things? Why bring everything from the example up?

      I don't mind this, just trying to understand the logic.

      Each theme has it's own specific settings. The example gives you all of those settings without having to read through all of their theme and find the settings for yourself. You can delete the files in content/ that you don't need. It's just a way to show you how to use the theme and give you a default config.toml.

    • JaredBuschJ

      Can bitwarden have multiple accounts

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion bitwarden password managers multiple users
      12
      0 Votes
      12 Posts
      4k Views
      dafyreD

      @coliver said in Can bitwarden have multiple accounts:

      One of the other ways I resolved this in the past was have the browser plugin for the one I use the most and the desktop app logged into the one I use the least. You just miss out on autofill if you use the desktop app.

      I do this now. My work stuff is in KeePass on my office desktop, and my personal stuff / work web resources that don't tie back to the office network are in Bitwarden.

    • JaredBuschJ

      WP-CLI and database users

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wp-cli wp wordpress security
      26
      0 Votes
      26 Posts
      2k Views
      1

      @JaredBusch said in WP-CLI and database users:

      @Pete-S said in WP-CLI and database users:

      @JaredBusch said in WP-CLI and database users:

      @Pete-S said in WP-CLI and database users:

      And when you use -e you should have it after user and password so the SQL commands you want to execute comes after the -e.

      That was a once off artifact of me doing it on this system after the root password has been set.

      OK, so maybe this then:

      sudo mysql -e "CREATE USER $DB_USER@localhost IDENTIFIED by '$DB_PASS';" sudo mysql -e "GRANT ALL ON $DB_NAME.* TO $DB_USER@localhost;" sudo mysql -e "FLUSH PRIVILEGES;"

      right. Updating the guide. but half tempted to leave the single quotes everywhere it that causes no error in order to protect against spaces by others. Though I am using pwgen to to this.

      It's kind of f*cked up to have spaces in user names and passwords. Personally I don't use something unless it's specifically needed but either way works.

    • JaredBuschJ

      Writing a Job Posting

      Watching Ignoring Scheduled Pinned Locked Moved IT Business job opening job posting job roles business
      82
      0 Votes
      82 Posts
      12k Views
      scottalanmillerS

      @Obsolesce said in Writing a Job Posting:

      @scottalanmiller said in Writing a Job Posting:

      It's hard, risky and it sucks.

      You must be going to some crazy parties...

      I absolutely do.

    • JaredBuschJ

      Looking for new GPS Fleet Tracking solution

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion gps fleet tracking
      8
      0 Votes
      8 Posts
      755 Views
      Emad RE

      https://www.traccar.org/

      The sad part is no Linux client, cause there is a lot of GPS modules USB type that work well in Linux. However
      you can use an android client on Pi and do some magic, or turn smartphones into GPS.

      It works but you need to get the right smartphone, the one that gives access to services and disables battery optimizations for apps and large battery.

    • JaredBuschJ

      Need to setup O365 shared calendar

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion office 365 shared calendar
      14
      0 Votes
      14 Posts
      2k Views
      NDCN

      @JaredBusch said in Need to setup O365 shared calendar:

      @Dashrender said in Need to setup O365 shared calendar:

      @JaredBusch said in Need to setup O365 shared calendar:

      @Dashrender said in Need to setup O365 shared calendar:

      If it's a fully shared (controlled by all) calendar, I would choose Can edit.

      That does not answer the question

      It is a normal user, the admin account. That went to their calendar and clicked new calendar. They then shared it as shown.

      Then I don't understand the question - I said - choose "Can edit" that's one of the choices you showed as an option.

      WTF does "Can Edit" mean? Is it actually the most open access? I have no idea.

      It's all hidden from the GUI now as far as I know but higher access levels still exist. The only thing I've actually run into people trying to use that requires it is messing with categories.

      You have to be a Publishing Editor or Owner to work with them.

      I usually end up assigning those for users using PowerShell when the need arises.

      get/set/add-mailboxfolderpermission

    • JaredBuschJ

      Kari's Law and other telecom changes

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion karis law shaken stir telecom pbx
      10
      0 Votes
      10 Posts
      1k Views
      DashrenderD

      @JaredBusch said in Kari's Law and other telecom changes:

      @scottalanmiller said in Kari's Law and other telecom changes:

      law ....... simply .............. written

      HAHAHAHAAHAHAHAHA

      LOL - yeah, pretty much this.

    • JaredBuschJ

      Need to migrate images from iCloud

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion pictures migration icloud nextcloud
      19
      0 Votes
      19 Posts
      2k Views
      J

      Have you tried the linux Icloud Photo downloader?

      https://github.com/ndbroadbent/icloud_photos_downloader

      Or installing Icloud for Linux and then mounting the photo space?
      sudo snap install icloud-for-linux

      If I recall, the drive folder is here, photos can't be too terribly different
      ~/Library/Mobile\ Documents/com~apple~CloudDocs/

    • JaredBuschJ

      Cleanup script help

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion scripting backup
      7
      1 Votes
      7 Posts
      484 Views
      JaredBuschJ

      ok this is what I came up with.

      #!/bin/bash # Send everything to logs and screen. exec 1> >(logger -s -t $(basename $0)) 2>&1 # Variables and descriptions of their use. # Array of dates found in the filename of the backup files. arrDates=() # Number of full backup sets to keep. keep=4 # How many full backup sets have been found. found=0 # Bas path to the backup files, minus the last folder. base="/home/jbusch/" # Full path to the backup files, populated by the script. path="" # This script requires that the final folder name be passed as a paramter. # This is because it is designed to be ran independently for each subfolder. # ex: ./file_cleanup.sh Hartford # ex: ./file_cleanup.sh Seymour #check for the path to be passed if [ ! -z "$1" ] then # Create the full path to be checked based on the passed parameter. path=$base$1 else exit 127 fi printf "Executing cleanup of backup files located in $path.\n" # Loop through all of the files in the path and parse out an array of the file dates from the file names. # All backups are named `backup-0000001-YYYYMMDD-XXXX*`. cd $path for f in backup-* do # The date is from character 15 for 8 characters. arrDates=("${arrDates[@]}" "${f:15:8}") done cd ~ # Sort in reverse order and only show unique dates. arrDates=($(printf '%s\n' "${arrDates[@]}" | sort -ru)) # Loop through the array of dates and check for there to be 4 files for each date. for checkdate in "${arrDates[@]}" do count=$(find "$path"/backup-0000001-"$checkdate"-* -type f -printf '.' | wc -c) if [ $count -eq 4 ] && [ $found -lt $keep ] then found=$((found+1)) printf "Checking $checkdate, we found $count files. We are keeping this date, currently we have $found dates saved.\n" elif [ $count -gt 0 ] && [ ! $count -eq 4 ] then printf "Incorrect number of files '('$count')' found, removing invalid backup dated $checkdate.\n" rm $path/backup-*-$checkdate-* elif [ $count -gt 0 ] && [ $found -eq $keep ] then printf "We have already found $keep full sets of backup files. Removing backup files dated $checkdate.\n" rm $path/backup-*-$checkdate-* else printf "The date $checkdate returned $count files. This is an unhandled scenario, doing nothing.\n" fi done

      output look like this

      [jbusch@dt-jared FTPTest]$ ./file_cleanup.sh FTPTest <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200107, we found 4 files. We are keeping this date, currently we have 1 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200105, we found 4 files. We are keeping this date, currently we have 2 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200104, we found 4 files. We are keeping this date, currently we have 3 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200103, we found 4 files. We are keeping this date, currently we have 4 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20200102. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20191230. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20191228.
    • 1 / 1