ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Categories
    3. IT Discussion
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • JaredBuschJ

      SELinux blocking Nginx by default on Fedora 27

      Watching Ignoring Scheduled Pinned Locked Moved Solved selinux fedora 27 nginx reverse proxy
      3
      2 Votes
      3 Posts
      4k Views
      JaredBuschJ

      This behavior is different than the last time I setup a reverse proxy like this. But that was also on CentOS 7 and not Fedora. So policy could be different.

    • F

      Windows Desktop Licensing: Cannot be used as a server

      Watching Ignoring Scheduled Pinned Locked Moved licensing windows
      28
      0 Votes
      28 Posts
      2k Views
      scottalanmillerS

      @flaxking said in Windows Desktop Licensing: Cannot be used as a server:

      @scottalanmiller said in Windows Desktop Licensing: Cannot be used as a server:

      @flaxking said in Windows Desktop Licensing: Cannot be used as a server:

      @scottalanmiller said in Windows Desktop Licensing: Cannot be used as a server:

      @flaxking said in Windows Desktop Licensing: Cannot be used as a server:

      @scottalanmiller said in Windows Desktop Licensing: Cannot be used as a server:

      It would mean that we could use any protocol over the Internet. There is no such thing as an Internet protocol. Things like HTTP and FTP were local LAN protocols first. The Internet made them popular and useful, of course.

      The web refers to specific protocols at layer 7. But Internet refers only to the layer 3 + connected to the specific public network called the Internet.

      Unless Microsoft tells us they're defining it differently, ^^^ this must be it

      I think so. Feels nutty BUT I bet they could explain some logic.... like this is just enough for some development thing or to cover some specific use case but so generally useless that they lose no money.

      So you would have to expose to the internet but filter to your public IP in order to be compliant and use it as something functional.

      Right. Or just know that there were no internal users. The licensing doesn’t require a strict enforcement system.

      Oh, I meant because it's probably pretty much useless to have something public facing with only 20 connections available

      That’s what I meant to. It’s enough for like basic testing or a five person company to do something weird. But not enough for anything real.

    • pmonchoP

      CP, Rsync or other?

      Watching Ignoring Scheduled Pinned Locked Moved
      7
      0 Votes
      7 Posts
      774 Views
      matteo nunziatiM

      Scott is right. When in dubt use rsync. Anyway cp is faster then the delta algo of rsync. Therefore the basic rule -if you care- should be: first time you copy go cp then always rsync. Even if cp fails you can restart with rsync.
      But basically you do not bother and you go straight w/ rsync.

    • garak0410G

      Windows 10 (Store) Remote Desktop App Errors

      Watching Ignoring Scheduled Pinned Locked Moved
      13
      1 Votes
      13 Posts
      1k Views
      dbeatoD

      Also this post is related, see below:
      https://social.technet.microsoft.com/Forums/en-US/8b0debe5-ba1e-4e4e-a054-6e8dc0bc2aa3/remote-desktop-connection-fails-after-fall-creators-update-installed?forum=win10itpronetworking

      0_1520632877201_2018-03-09_1701.png

    • scottalanmillerS

      How to Update Packages on TrueOS

      Watching Ignoring Scheduled Pinned Locked Moved trueos bsd freebsd unix
      11
      1 Votes
      11 Posts
      5k Views
      scottalanmillerS

      Traditionally TrueOS has been a good desktop.

    • RomoR

      Decommissioning Exchange 2010 server in a hybrid O365 deployment.

      Watching Ignoring Scheduled Pinned Locked Moved exchange 2010 office 365 hybrid exchange
      2
      3 Votes
      2 Posts
      2k Views
      dbeatoD

      @romo @Tim_G has written about this as below:
      https://www.timothygruber.com/office-365/extend-ad-schema-exchange-2016-attributes-not-synchronizing/

      Something to take in mind to remove the last Exchange.

    • CCWTechC

      Ubiquity Security appliance

      Watching Ignoring Scheduled Pinned Locked Moved ubiquity security anti-virus intrusion prevention intrusion detection
      55
      0 Votes
      55 Posts
      7k Views
      scottalanmillerS

      It’s coincidental. Not visiting them 🙂

    • ObsolesceO

      Anyone backing up a file server with 13 million plus files?

      Watching Ignoring Scheduled Pinned Locked Moved
      39
      1 Votes
      39 Posts
      3k Views
      scottalanmillerS

      @travisdh1 said in Anyone backing up a file server with 13 million plus files?:

      @scottalanmiller said in Anyone backing up a file server with 13 million plus files?:

      @travisdh1 said in Anyone backing up a file server with 13 million plus files?:

      @travisdh1 said in Anyone backing up a file server with 13 million plus files?:

      @tim_g said in Anyone backing up a file server with 13 million plus files?:

      I was looking at Zmanda a while back, looks like they added Windows Server 2016 to their compatibility matrix now.

      Zmanda is just the "supported" version of Amanda, but their support sucked. Specifically they said "That error doesn't matter". Only that error mattered, because no backup could be restored from after getting said error. The only thing to show them is the door.

      Almost forgot, I had a ticket open with them on this issue for 6 months with no action on it at all.

      I've not know anyone that has been happy with them in forever. Amanda was a neat idea in 2001 or whatever. It really has little to no place anymore.

      I wonder if they've updated their agent support matrix since then? At least for the Linux distros they officially supported, it was horribly old.

      I look every few years... and nothing ever updates.

    • LakshmanaL

      Powershell Filter Data and Copy Data to new .csv file

      Watching Ignoring Scheduled Pinned Locked Moved
      13
      0 Votes
      13 Posts
      4k Views
      LakshmanaL

      @stess i get error as "Warning: one or more headers were not specified. Defaults names starting with H have been used in place of any missing headers"

      there is no data copied here to. csv

    • scottalanmillerS

      Salt-Minion Fails to Start on TrueOS BSD

      Watching Ignoring Scheduled Pinned Locked Moved freebsd bsd trueos saltstack salt-minion unix
      1
      1 Votes
      1 Posts
      867 Views
      No one has replied
    • momurdaM

      Python Print() Syntax

      Watching Ignoring Scheduled Pinned Locked Moved python python print
      29
      1 Votes
      29 Posts
      4k Views
      scottalanmillerS

      @tim_g said in Python Print() Syntax:

      @tim_g said in Python Print() Syntax:

      @scottalanmiller said in Python Print() Syntax:

      @tim_g said in Python Print() Syntax:

      @scottalanmiller said in Python Print() Syntax:

      @tim_g said in Python Print() Syntax:

      @momurda said in Python Print() Syntax:

      Say i want to print some stuff to terminal screen

      name = "matt" dob = "1980" print(name,dob) print(name + " ",dob)

      Result is the same. Is there a reason Thonny chooses to teach me method 2? Is it just to illustrate concatenation with strings and variables in print function?

      For comparison, this is how I'd do that same code in PHP:

      <?php $name = 'tim'; $year = '2018'; echo $name . " " . $year; ?>

      Well, that's how you'd do it in PHP that is encapsulated inside of HTML. Not really how PHP does it exactly.

      What's it matter... anything inside of the PHP tags is being parsed by PHP.
      That's how you do it also in a PHP file with no html. I'm not sure what your point is.

      PHP is often taught as only existing inside HTML, rather than being its own language. It can be very confusing. The average person using PHP doesn't even realize that you can run PHP scripts.

      I've been using PHP to output html. Where PHP is understanding html too, rather than the other way.

      It can do anything really. Most PHP is that way I seen, rather than being inside of an html file.

      Unless I'm doing it wrong...

      Nearly all PHP is written to be called by a web server. PHP can do anything, but it's so commonly used as a file on a web server that it is almost exclusively assumed to be what it is being used for.

    • scottalanmillerS

      Ubuntu Long Term Support SAMIT Video

      Watching Ignoring Scheduled Pinned Locked Moved samit youtube linux ubuntu long term support unix operating system support scott alan miller fedora rhel
      1
      2 Votes
      1 Posts
      1k Views
      No one has replied
    • scottalanmillerS

      Only 50% of Cyber Security Attacks Target Small Businesses

      Watching Ignoring Scheduled Pinned Locked Moved security
      7
      1 Votes
      7 Posts
      620 Views
      scottalanmillerS

      @momurda said in Only 50% of Cyber Security Attacks Target Small Businesses:

      What are you defining as a cyberattack?

      Where "you" = "National CyberSecurity Alliance"

    • A

      Ubuntu 18.04 adding Minimal Install

      Watching Ignoring Scheduled Pinned Locked Moved ubuntu linux omgubuntu ubuntu 18.04
      6
      2 Votes
      6 Posts
      2k Views
      JaredBuschJ

      @scottalanmiller said in Ubuntu 18.04 adding Minimal Install:

      @jaredbusch said in Ubuntu 18.04 adding Minimal Install:

      @dbeato said in Ubuntu 18.04 adding Minimal Install:

      @aaronstuder said in Ubuntu 18.04 adding Minimal Install:

      Seems like a good move

      https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

      I thought they had it already, I have been using the net install for a long time in Debian and Ubuntu
      https://www.ubuntu.com/download/alternative-downloads

      Minimal Install != Net Install

      Net Install is more "Minimal Download" rather than "Minimal Install"

      Correct. A NetInstall is a small initial download because it installs whichever version from direct net downloads after selection.
      I always use the NetInstall download for Fedora/CentOS because that is the only way to get a solid "Minimal Install".

      But I also installed my full desktop from a NetInstall image.

    • JoelJ

      Powershell on Startup + Azure Storage

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      1 Votes
      8 Posts
      809 Views
      JaredBuschJ

      @joel said in Powershell on Startup + Azure Storage:

      I tried this. Powershell launched at startup but the script didnt run. What I noticed is that if i run the script with powershell, it doesnt work. However if I open with Powershell and execute the script, it works!

      You cannot map a dive a startup, that requires a user session.

    • T

      SIP Desk Phones Not Re-Registering with Main WAN's IP After WAN Fail-back

      Watching Ignoring Scheduled Pinned Locked Moved sip phones asterisk usg yealink t46s yealink t48s unifi controller
      20
      2 Votes
      20 Posts
      5k Views
      scottalanmillerS

      @jaredbusch said in SIP Desk Phones Not Re-Registering with Main WAN's IP After WAN Fail-back:

      @scottalanmiller said in SIP Desk Phones Not Re-Registering with Main WAN's IP After WAN Fail-back:

      @taurex said in SIP Desk Phones Not Re-Registering with Main WAN's IP After WAN Fail-back:

      @jaredbusch Thanks for this link. I'll give it a try. I hope UBNT did not trim the CLI down too much on the USG. I now better understand why Edge series is still the prefered choice for deployment among many🙂

      Especially now that UNMS is available, that's pretty slick.

      UNMS 0.12.0 (currenlty in alpha) will add the CLI to the web interface.

      That's very exciting. So much good stuff happening with UNMS.

    • anthonyhA

      Active Directory - Disable users in a group after an elapsed time of inactivity

      Watching Ignoring Scheduled Pinned Locked Moved
      15
      0 Votes
      15 Posts
      2k Views
      anthonyhA

      Another revision.

      Added logic for when "lastlogontimestamp" does not exist. This indicates the account has never logged in. So now if "lastlogontimestamp" doesn't exist it checks the account's creation date and disables the account if the creation date is past the expiration threshold.

      Also added basic email reporting.

      param ( [string]$group, [string]$days = 30, [string]$test = "y" ) # This script will search AD for eligible accounts to disable if they have either # 1) never logged in and are older than the expration, or 2) if the last login is older than the expiration. $emailAddrTo = "[email protected]" $emailAddrFrom = "[email protected]" $emailSMTP = "mail.domain.org" $logStart = get-date -format g $hostName = $env:COMPUTERNAME $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition $scriptName = $MyInvocation.MyCommand.Name $log = "$scriptPath\$scriptName.log" $delimitedList = "$scriptPath\$scriptName.delimited.txt" # If the group parameter is not specified, throw an error and short script usage example. if ( -not ($group)) { echo "Group parameter missing." echo "Script usage: $scriptName -group `'AD Group`' -days 30 -test NO" echo "If `"-days`" isn't specified the default is 30." echo "If `"-test NO`" isn't specified, no changes will be made." exit } echo "Disabling accounts in group $group that have no logged in for more than $days day(s)." if ( $test -ne "NO") { echo "Running in **TEST** mode. No changes will be made!" } import-module activedirectory # Select AD accounts based on group parameter if ( $group -eq "All") { echo "Group All specified, grabbing all Active Directory users" $disableList = @(get-aduser -filter * | select -expandproperty SamAccountName) } else { echo "Grabbing Active Directory users that are a member of $group" $disableList = @(get-adgroupmember $group | select -expandproperty SamAccountName) } # Set expiration threshold based on days parameter $expiration = (get-date).adddays(-$days) # Define arrays to log eligible accounts $noLogons = @() $expiredLogons = @() # Loop through accounts foreach ($acct in $disableList) { # Reset $lastLogonTS to accomodate for null results. $lastLogonTS = '' echo "Processing account $acct" # Get user's distinguished name $acctDN = get-aduser $acct -properties distinguishedname | select -expandproperty distinguishedname # Check if account is disabled. If disabled, skip account. $isEnabled = get-aduser $acct -properties enabled | select -expandproperty enabled if ( $isEnabled -eq $false) { echo "$acct is already disabled, skipping." } else { # Get the last logon timestamp for user. If user has no timestamp, this will error (which means user has never logged in) $lastLogonTS = get-aduser $acct -properties lastlogontimestamp | select -expandproperty lastlogontimestamp -ErrorAction SilentlyContinue # If last logon timestamp does not exist, check when the account was created. If the account is older than the threshold, disable. if (!$lastLogonTS) { $acctCreation = get-aduser $acct -properties whencreated | select -expandproperty whencreated if ( $acctCreation -lt $expiration) { echo "$acct has no recorded login and was created more than $days ago (created $acctCreation) which makes it eligible for deactivation." if ($test -eq "NO") { disable-adaccount -identity $acct echo "$acct disabled" $noLogons += "$acct | $acctDN | Created: $acctCreation" } else { $noLogons += "$acct | $acctDN | Created: $acctCreation | TEST ONLY" } } } else { # Convert last logon timestamp from file time to date time $lastLogon = [datetime]::FromFileTime($lastLogonTS) # If last logon timestamp is older than the threshold, disable account. if ($lastLogon -lt $expiration) { echo "$acct's last logon was more than $days days ago ($lastLogon) and is eligible for deactivation." if ($test -eq "NO") { disable-adaccount -identity $acct echo "$acct disabled" $expiredLogons += "$acct | $acctDN | Last Logon: $lastLogon" } else { $expiredLogons += "$acct | $acctDN | Last Logon: $lastLogon | TEST ONLY" } } } } } # Compile report # Start log file $logEnd = get-date -format g write-output "Log for $scriptName`r`nExecuted on $hostName`r`nScript started $logStart`r`nScript ended $logEnd`r`n" | out-file $log # Generate list of users removed from group, if any. if (!$noLogons) { write-output "Accounts older than $days days with no logon were not found (this is good!).`r`n" | out-file -append $log } else { write-output "The following accounts have been disabled because they are older than $days days and have never been used:" | out-file -append $log write-output $noLogons | out-file -append $log write-output "" | out-file -append $log } # Generate list of users added to the group, if any. if (!$expiredLogons) { write-output "Accounts with the last logon older than $days days were not found (yay!)." | out-file -append $log } else { write-output "The following accounts have been disabled because their last logon was more than $days days ago:" | out-file -append $log write-output $expiredLogons | out-file -append $log } # Dump account information to text file to be attached to the email. write-output $noLogons | out-file $delimitedList write-output $expiredLogons | out-file -append $delimitedList # Send log to $emailAddr if variable is set. if (!$emailAddrTo) { write-output "`r`nNo email address specified, no report sent." | out-file -append $log } else { $emailBody = get-content -path $log | out-string send-mailmessage -from "$hostName <$emailAddrFrom>" -to $emailAddrTo -subject "$scriptName Report" -body $emailBody -smtpserver $emailSMTP -attachments $delimitedList }
    • NashBrydgesN

      Nginx Active-Passive HA

      Watching Ignoring Scheduled Pinned Locked Moved nginx ha high availability
      31
      1 Votes
      31 Posts
      5k Views
      JaredBuschJ

      @nashbrydges said in Nginx Active-Passive HA:

      @jaredbusch said in Nginx Active-Passive HA:

      @NashBrydges side question. If you setup the .well-known to work correctly, why do you then need the HA? because nginx will never be down except for the momentary reload after the certs are updated.

      That certainly addresses the biggest concern about a long downtime during the renewall process for a high number of certs and probably addresses most concerns with this client. He's already running Veeam replication to a second box so his RTO and RPO are relatively short and within his business tolerance.

      Having said that, it's a great learning opportunity for me to set this up in my lab, if for no other reason than to try it and see how it works.

      Certainly no reason not to do it for a lab. and for a proxy with as much as it sounds like you have in production, it will still be a likely good solution.

    • scottalanmillerS

      Installing NextCloud Sync Client on Deepin Linux 15.4.1

      Watching Ignoring Scheduled Pinned Locked Moved deepin deepin 2015 deepin 2015.4.1 linux linux desktop appimage nextcloud nextcloud sync client
      7
      2 Votes
      7 Posts
      4k Views
      dbeatoD

      @black3dynamite said in Installing NextCloud Sync Client on Deepin Linux 15.4.1:

      @dbeato said in Installing NextCloud Sync Client on Deepin Linux 15.4.1:

      @jackcpickup said in Installing NextCloud Sync Client on Deepin Linux 15.4.1:

      NextCloud client is available in the Deepin Store now.

      Yep!
      0_1520448979618_DeepinScreenshot_select-area_20180307135611.png

      The latest version is 2.3.3

      Yeah, the packages are outdated, I usually update through command line. The underlying system is debain so in the end I can use packages from Debian.

    • WLS-ITGuyW

      DHCP ranges seperate for IP Phones and PCs?

      Watching Ignoring Scheduled Pinned Locked Moved
      31
      2 Votes
      31 Posts
      2k Views
      JaredBuschJ

      here it he powershell method.

      https://docs.microsoft.com/en-us/powershell/module/dhcpserver/add-dhcpserverv4reservation?view=win10-ps

      Add-DhcpServerv4Reservation -ScopeId 10.10.10.0 -IPAddress 10.10.10.8 -ClientId "F0-DE-F1-7A-00-5E" -Description "Reservation for Printer"`
    • 1
    • 2
    • 243
    • 244
    • 245
    • 246
    • 247
    • 699
    • 700
    • 245 / 700