ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. apple
    Log in to post
    • All categories
    • DustinB3403D

      Naming your Apple computer via the CLI

      IT Discussion
      • osx cli administration apple deployment • • DustinB3403
      2
      2
      Votes
      2
      Posts
      574
      Views

      DustinB3403D

      I've added this to a larger script that I use, but if you only wanted to automate the naming process the above would work for you.

      Else just remove the header #!/bin/sh and add the reset to any setup scripts that you have to automate this portion of the setup.

    • DustinB3403D

      OSX administrators who use Brew - Xcode Tools no longer included by default

      IT Discussion
      • osx administration automation brew shell scripting apple xcode • • DustinB3403
      1
      1
      Votes
      1
      Posts
      523
      Views

      No one has replied

    • DustinB3403D

      Solved Apple OSX - Public Desktop

      IT Discussion
      • apple osx scripting automation setup • • DustinB3403
      25
      0
      Votes
      25
      Posts
      2.3k
      Views

      DustinB3403D

      I'm marking this solved as I create a direction from / called scripts and that does what I need.

      No real need for a public shareable desktop when this works just fine.

    • DustinB3403D

      Saltstack and Brew Casks

      IT Discussion
      • salt casks osx apple devops • • DustinB3403
      6
      0
      Votes
      6
      Posts
      1.3k
      Views

      DustinB3403D

      @shortstack said in Saltstack and Brew Casks:

      @DustinB3403 i am also wondering what the workaround for this issue is, re: salt minion executing brew installs. did you ever figure out a clean way to get brew working, maybe runas a different user?

      I haven't had the chance to get back into this, other more pressing issues so I just went on with my day.

      Sorry

    • scottalanmillerS

      Create a New User on macOS from the Terminal Command Line

      IT Discussion
      • mac osx macos apple command line cli terminal sam macos administration system administration macosx • • scottalanmiller
      4
      1
      Votes
      4
      Posts
      9.2k
      Views

      scottalanmillerS

      @justal said in Create a New User on macOS from the Terminal Command Line:

      @scottalanmiller Hi Scott, thanks for the post, unfortunately this works not on Mac OS X Mojave. I'm able to create a user but not able to login with this user account. It stucks after the login prozess. Is there any workaround?
      Thanks!

      I switched offices for a couple days to one where I'm on Ubuntu rather than my Mac. I'll look into it once I'm back to my Mac.

    • DustinB3403D

      Enabling root SSH access for OSX

      IT Discussion
      • osx macos system administration cli command line shell apple mac macos system administration ssh • • DustinB3403
      1
      2
      Votes
      1
      Posts
      1.7k
      Views

      No one has replied

    • DustinB3403D

      OSX Windows Managers

      IT Discussion
      • osx windows manager apple open source • • DustinB3403
      2
      1
      Votes
      2
      Posts
      375
      Views

      scottalanmillerS

      Have never looked at that.

    • DustinB3403D

      Migrating OSX computers from an old domain to a new one and keeping your users profile

      IT Discussion
      • osx apple administration migration • • DustinB3403
      2
      2
      Votes
      2
      Posts
      427
      Views

      DustinB3403D

      Fixed a small typo.

    • DustinB3403D

      OSX Mojave - System Storage - Time Machine Disabled

      IT Discussion
      • osx apple apfs time machine system storage • • DustinB3403
      4
      1
      Votes
      4
      Posts
      506
      Views

      DustinB3403D

      @RojoLoco said in OSX Mojave - System Storage - Time Machine Disabled:

      @DustinB3403 said in OSX Mojave - System Storage - Time Machine Disabled:

      That seems unnecessary as this shouldn't be so difficult, nor should it ever occur.

      ...because everything apple does is perfect and never, ever malfunctions in any way, right?

      Yeah. . . no I get the stance. What makes no sense is there is no way for me to find where this bulk is coming from.

    • scottalanmillerS

      Copy / Paste from Excel on Mac to Outlook Web Access Creates Image Rather than Table

      IT Discussion
      • mac macos apple excel owa email office 365 o365 mac osx • • scottalanmiller
      11
      1
      Votes
      11
      Posts
      1.8k
      Views

      scottalanmillerS

      @LilAng said in Copy / Paste from Excel on Mac to Outlook Web Access Creates Image Rather than Table:

      In Excel, use File > Save as web page, then attach the web page to your email message?

      Yeah, we found that process. That's a pretty huge "fail" process.

    • DustinB3403D

      OSX Power Saving Settings

      IT Discussion
      • osx apple unix cli power management high sierra majove • • DustinB3403
      4
      1
      Votes
      4
      Posts
      781
      Views

      black3dynamiteB

      @DustinB3403 said in OSX Power Saving Settings:

      @black3dynamite said in OSX Power Saving Settings:

      Does that also prevent it from sleeping when the lid is closed?

      The lid closed is powernap 🙂

      https://media1.giphy.com/media/5hc2bkC60heU/giphy.gif?cid=3640f6095c8163fa692f764563b0e745

    • DustinB3403D

      OSX Majove - Applications Quarantine - Fix

      IT Discussion
      • apple osx unix cli trust applications • • DustinB3403
      2
      4
      Votes
      2
      Posts
      625
      Views

      DustinB3403D

      So with further testing, a restart is required if the user is using their system, otherwise they'll continue to get the notifications.

    • DustinB3403D

      Solved lpadmin - remove printer with a space in the name

      IT Discussion
      • unix osx apple lpadmin printers administration ard • • DustinB3403
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      DustinB3403D

      @dbeato said in lpadmin - remove printer with a space in the name:

      @DustinB3403 said in lpadmin - remove printer with a space in the name:

      Nevermind!

      lpadmin adds spaces as underscores!

      So with lpadmin -p I was able to find the list of printers.

      lpadmin -p
      Accounting_Printer

      And with lpadmin -x Accounting_Printer was able to remove the printer!
      Removed Accounting_Printer

      Good to know for central administration of Apple devices. What are you using right now?

      ARD and Unix cli

    • DustinB3403D

      OSX 10.14.X Bug - Roaming AD Accounts unable to login when Off Network

      IT Discussion
      • osx active directory mobile accounts apple bug 10.14 • • DustinB3403
      4
      2
      Votes
      4
      Posts
      523
      Views

      DustinB3403D

      @wrx7m said in OSX 10.14.X Bug - Roaming AD Accounts unable to login when Off Network:

      @DustinB3403 said in OSX 10.14.X Bug - Roaming AD Accounts unable to login when Off Network:

      My co-worker thinks he may have a workaround, which involves backing up the user profile, deleting the existing one and restoring the files for the user.

      We're testing this currently to see if this actually "sticks".

      Did it work?

      Waiting to hear back

    • siringoS

      Add devices to Apple School Manager

      IT Discussion
      • apple apple school manager asm ipad ios • • siringo
      6
      2
      Votes
      6
      Posts
      762
      Views

      scottalanmillerS

      Tags added.

    • DustinB3403D

      OSX Shell Error Operation Not Permitted

      IT Discussion
      • apple osx quarantine shell bash scripting security troubleshooting brew • • DustinB3403
      2
      2
      Votes
      2
      Posts
      717
      Views

      DustinB3403D

      Just used this again today, as another script I have had this attribute.

      Not sure when the attribute was written to the script though. But it's working now.

      This is the full error.

      /bin/sh: bad interpreter: Operation not permitted
    • DustinB3403D

      OSX Unix Using Brew to install software remotely

      IT Discussion
      • brew osx apple apple remote desktop unix • • DustinB3403
      20
      0
      Votes
      20
      Posts
      1.6k
      Views

      DustinB3403D

      @scottalanmiller said in OSX Unix Using Brew to install software remotely:

      @DustinB3403 said in OSX Unix Using Brew to install software remotely:

      So I can just unpack the dmg file, and have an Copy job, copy the application to the Applications folder for any user. As my admin user account. All via Apple Remote Desktop.

      This works without issue.

      What I am trying to do is avoid having to locally download the app at all, unpack it and then have a Copy job to run. I'd like to streamline the process.

      That's what the script is doing already. Making your own "sudo friendly" script for your install might make sense.

      The issue is there is no way AFAIK without adding my local admin account to this group.

      Which is more work than it may be worth since the existing solution works but is annoying.

    • mlnewsM

      Apple will spend $1 billion and hire up to 15,000 people for new Austin office

      News
      • apple ars technica • • mlnews
      1
      1
      Votes
      1
      Posts
      414
      Views

      No one has replied

    • mlnewsM

      Some New Macs Risk Bricking from Third Party Repairs

      News
      • apple macos mac pc ars technica apple t2 • • mlnews
      49
      1
      Votes
      49
      Posts
      4.3k
      Views

      scottalanmillerS

      @DustinB3403 said in Some New Macs Risk Bricking from Third Party Repairs:

      @dafyre said in Some New Macs Risk Bricking from Third Party Repairs:

      @Dashrender said in Some New Macs Risk Bricking from Third Party Repairs:

      @DustinB3403 said in Some New Macs Risk Bricking from Third Party Repairs:

      Yeah I kind of have an issue with this. . .

      It's my device, if I want Joe from the mall kiosk to replace whatever in my device, that is my right to do, and I'd be the responsible person who risk the device being broken further or compromised with non-oem parts.

      On the other side of the conversation I understand Apple's reasoning for this and it's sounds like they simply want users to use OEM only parts, but they use this guise of "for security".

      Which also kind of irks me. . .

      Why do you call it a guise? If Apple doesn't make the interconnect APIs available, who knows what those knockoff people are making.

      I'm back to the point where the device should likely just hit you with a warning every 24 hours that you might have compromised shit installed - but I'm guessing that Scott and others will be against that level of frequency.

      I'm against a one time notice of there being a perceived security issue in the device.

      I'm not against a notification -- but every 24 hours seems excessive. Maybe a 30 second notification every reboot -- something that doesn't require any action other than waiting the 30 seconds.

      But this is just an "you may have been" there is no proof that something has been compromised. Just the possibility because a non approved person or company has worked on property you own.

      I think any notification that would force you to wait, period would be overly intrusive.

      Right, you MAY have been compromised with Apple's own stuff, too. But they would "conveniently" not show a warning. Therefore the warning would have nothing to do with risk, and everything to do with FUD.

    • DustinB3403D

      OSX is it possible to login to the App Store via the CLI

      IT Discussion
      • apple osx cli • • DustinB3403
      10
      0
      Votes
      10
      Posts
      784
      Views

      KellyK

      You might look at the tools that Apple is pushing (and thus supporting). I don't know if Munki will fit your requirements, but it may.

      Here is a list of several projects for managing macOS: https://simplemdm.com/2018/07/19/popular-open-source-tools-for-mac-admins/. NoMAD is pretty cool if you're in a Windows-centric environment.

    • 1
    • 2
    • 3
    • 4
    • 5
    • 8
    • 9
    • 2 / 9