Navigation

    ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. osx
    Log in to post

    • SOLVED lpadmin and Apple printer creation help
      IT Discussion • apple osx printers printer packages • • DustinB3403  

      3
      0
      Votes
      3
      Posts
      69
      Views

      Got it with this. lpadmin -p Printer-Name -E -v ipp://printer-address -o printer-is-shared=false -o printer-make-and-model="Canon iPR Svr G250 V1.0 US" -P "/Library/Printers/PPDs/Contents/en.lproj/Canon iPR Svr G250 V1.0 US"
    • lpadmin Printer drivers are deprecated and will stop working in a future version of CUPS
      IT Discussion • apple osx printers cups drivers conversation ipp • • DustinB3403  

      15
      0
      Votes
      15
      Posts
      2421
      Views

      @Dashrender said in lpadmin Printer drivers are deprecated and will stop working in a future version of CUPS: @DustinB3403 said in lpadmin Printer drivers are deprecated and will stop working in a future version of CUPS: Keeping a system out of date on purpose for this though. . . ugh kill me now. Better get used to it - it's exactly what those shops running old XP machines on million dollar printing presses had to do.
    • OSX Terminal Serial Number
      IT Discussion • osx macos terminal investigation query details • • DustinB3403  

      12
      2
      Votes
      12
      Posts
      105
      Views

      @RojoLoco and that's what I appreciates about you RL.
    • SOLVED Finding specific file type that has no extension
      IT Discussion • osx management files fonts postscript move • • DustinB3403  

      7
      0
      Votes
      7
      Posts
      76
      Views

      @Obsolesce said in Finding specific file type that has no extension: Is there anything inside the file that can tell you? For example, if you write a script that cats each file or whayever and looks for specific string, then moves it if it matches. I don't know what those files are, so ya. Just thinking out loud without any info. No, because they are just ancient like ~20 + years old, no extension or really anything to hit on. Apple still supports Postscript Type 1 fonts, but nothing else does. I managed to get it to work with what I needed with the above. Additionally I created two reports 1) listing all of he postscript type 1 fonts and 2) listing truetype and opentype fonts. So now we can build a list of things that needs to get upgraded. To find the non-extension'd postscript type 1 fonts I used find . -type f -d -empty >> old-crap.txt To find the modern fonts I used find . -name '*.ttf' -d >> modern-font.txt and just replaced .ttf with .otf, .otc, .ttc, .tte and .dfont and appended the same modern-font.txt file for each of those.
    • SOLVED Unix Command line - Printer Details
      IT Discussion • unix apple osx terminal lpadmin lpstat lpinfo lpoptions • • DustinB3403  

      12
      1
      Votes
      12
      Posts
      145
      Views

      @black3dynamite said in Unix Command line - Printer Details: @DustinB3403 said in Unix Command line - Printer Details: Here is the completed command. lpoptions -p <NAME> | grep -o "printer-make-and-model='Your Printer make and Model" That outputs the exact detail I needed! lpoptions -p SHCSL_209_ColorPrinter | sed -r "s/^.*(printer-make-and-model.*)'.*$/\1/g; s/'//g; s/printer-make-and-model=//g" This will remove all the unnecessary text, printer-make-and-model=, and the single quotes. Yeah I'm also able to just use lpoptions -p SHCSL_209_ColorPrinter | grep "'SHCSL_209_ColorPrinter'" and get what I need in a single line response.
    • Installing a Depreciated version of Apple OSX
      IT Discussion • apple how to osx version control old • • DustinB3403  

      3
      4
      Votes
      3
      Posts
      141
      Views

      @WLS-ITGuy give this a try, you may need to go back more than a year though.
    • UNSOLVED Tar gzip file compression calculation without decompressing the file
      IT Discussion • unix apple osx tar gzip • • DustinB3403  

      20
      0
      Votes
      20
      Posts
      185
      Views

      P

      @DustinB3403 said in Tar gzip file compression calculation without decompressing the file: @Pete-S So the simplest way I can think to explain this would be like this. You have a network share which is relatively organized You create a compressed tarball of any folder on that share and then move that tarball to offsite storage. How would I realistically get a hash of that folder pre and post tar and compression and have it make sense? They aren't the same thing, even if they contain the same things. @Pete-S said in Tar gzip file compression calculation without decompressing the file: Is it safe to assume that the gzip file is correct when it is created? This is what I'm looking to verify I'm assuming that files are static during backup. If you first of all run md5deep on all files in the folder, you'll create a textfile that contains md5 (or sha256 or what you want) signatures on every file in the folder. Place it into the folder so it ends up inside the backup and you'll always have the ability to verify any uncompressed individual file. If you really want to verify your tar.gz file after it's created I think you have to decompress the files to a temporary folder, run md5deep on the files to compare them with the original file. What you really are testing is that the backup-compress-decompress-restore operation is lossless on every file. It should be by design, but if there is an unlikely bug somewhere it's technically possible that it might not be. If you use the gzip compression with tar, gzip has a CRC-32 checksum inside that can be used to verify the integrity of the gzip file. Or to be even more certain you can create an md5 signature of the entire gzip archive with md5sum or md5deep. Then you can always verify that the archive has not been corrupted. If you ever need to restore the files you can verify the integrity of the restored files with the md5 you created on the original files, before you did the backup.
    • UNSOLVED lpoptions - cups - OSX
      IT Discussion • osx printers administration terminal cups remote • • DustinB3403  

      1
      0
      Votes
      1
      Posts
      99
      Views

      No one has replied

    • SOLVED OSX cli Join hidden network
      IT Discussion • osx administration • • DustinB3403  

      17
      1
      Votes
      17
      Posts
      226
      Views

      As an additional option, if you don't want your workstation to automatically connect to this network (on startup, while roaming etc) use this networksetup -removedpreferredwirelessnetwork Interface SSID That disables the autojoin functionality on OSX 10.14.6, but you would still have connected to the network from the initial answer.
    • Remove Preferred Wireless Network on OSX
      IT Discussion • apple osx administration • • DustinB3403  

      1
      4
      Votes
      1
      Posts
      98
      Views

      No one has replied

    • Using Ansible to Manage install and update Apple OSX DHCP clients
      IT Discussion • apple ansible osx automation homebrew • • DustinB3403  

      100
      0
      Votes
      100
      Posts
      1493
      Views

      This is a good starter video: Youtube Video
    • Naming your Apple computer via the CLI
      IT Discussion • apple cli osx administration deployment • • DustinB3403  

      2
      2
      Votes
      2
      Posts
      122
      Views

      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.
    • OSX administrators who use Brew - Xcode Tools no longer included by default
      IT Discussion • apple scripting osx shell automation administration brew xcode • • DustinB3403  

      1
      1
      Votes
      1
      Posts
      108
      Views

      No one has replied

    • SOLVED Apple OSX - Public Desktop
      IT Discussion • apple scripting osx automation setup • • DustinB3403  

      25
      0
      Votes
      25
      Posts
      328
      Views

      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.
    • Creating a Salt master on Fedora 30
      IT Discussion • fedora saltstack salt osx fedora 30 salt master • • DustinB3403  

      2
      4
      Votes
      2
      Posts
      152
      Views

      Dont' use bullet/number lists in instructions and guides like this. it makes it annoying for those that want to copy and paste. This guide is assuming that you are running as root. If not prepend everything here with sudo. Install the salt-master package dnf install salt-master Open the required ports in the firewall firewall-cmd --add-port=4505-4506/tcp --permanent firewall-cmd --reload Enable the salt-master service to start on boow, and also start it now. systemctl enable --now salt-master.service
    • CUPS Administration Job Info 1 Destination Mailbox
      IT Discussion • cli osx printers users workstation cups mac os lpadmin destination mailbox defaults printer programming • • DustinB3403  

      5
      1
      Votes
      5
      Posts
      150
      Views

      @black3dynamite said in CUPS Administration Job Info 1 Destination Mailbox: @DustinB3403 said in CUPS Administration Job Info 1 Destination Mailbox: While I found where OSX stores the user printer preferences, but copying a "working version of preferences" to the user workstation and directory doesn't set the preferences. Still investigating. May require a restart when doing this remotely. . . Full system restart or just the cups service? Just did a full system restart and no change. While the plist file is there, and the user has owner access to it, the changes don't appear to take effect. Not sure why.
    • Saltstack and Brew Casks
      IT Discussion • apple salt devops osx casks • • DustinB3403  

      6
      0
      Votes
      6
      Posts
      463
      Views

      @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
    • Create a New User on macOS from the Terminal Command Line
      IT Discussion • apple system administration command line cli osx mac macos terminal macosx sam macos administration • • scottalanmiller  

      2
      1
      Votes
      2
      Posts
      1359
      Views

      It is likely obvious, but as I know that some people are searching for this information, creating administrative users in this way can be done very easily from remote command lines such as ScreenConnect, ConnectWise, MeshCentral, and so forth.
    • Enabling root SSH access for OSX
      IT Discussion • apple ssh system administration command line cli osx macos mac shell macos system administration • • DustinB3403  

      1
      2
      Votes
      1
      Posts
      368
      Views

      No one has replied

    • Using Rsync to remotely backup Apple OSX User profiles
      IT Discussion • command line cli osx macos mac rsync terminal macosx • • DustinB3403  

      6
      2
      Votes
      6
      Posts
      218
      Views

      Worth noting that using rsync worked very well, but there were issues with the Outlook profile on the existing user workstation and the end result. Not a huge issue for us as everything is stored in O365, but worth being mindful of if your email was hosted locally. Also because of username convention changes, I had to set the ownership of the user profile to match the new shortened name.
    • OSX Windows Managers
      IT Discussion • open source apple osx windows manager • • DustinB3403  

      2
      1
      Votes
      2
      Posts
      134
      Views

      Have never looked at that.
    • Migrating OSX computers from an old domain to a new one and keeping your users profile
      IT Discussion • apple migration osx administration • • DustinB3403  

      2
      2
      Votes
      2
      Posts
      174
      Views

      Fixed a small typo.
    • OSX Mojave - System Storage - Time Machine Disabled
      IT Discussion • storage apple osx system apfs time machine • • DustinB3403  

      4
      1
      Votes
      4
      Posts
      162
      Views

      @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.
    • Nomad - Manage Mac OS in Windows/AD Environment - Anyone Used It?
      IT Discussion • active directory osx bind mac os nomad • • wrx7m  

      3
      1
      Votes
      3
      Posts
      187
      Views

      @DustinB3403 said in Nomad - Manage Mac OS in Windows/AD Environment - Anyone Used It?: I've heard of it, and it's supposedly a really good product, the issue with it is the cost. At least at the time. The product now is JAMF Connect. So it looks to be a dead product that was replaced. Interesting. I'll look into that. I didn't see any mention of jamf.
    • OSX Power Saving Settings
      IT Discussion • unix apple cli osx power management high sierra majove • • DustinB3403  

      4
      1
      Votes
      4
      Posts
      138
      Views

      @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
    • OSX Majove - Applications Quarantine - Fix
      IT Discussion • unix apple cli osx applications trust • • DustinB3403  

      2
      4
      Votes
      2
      Posts
      121
      Views

      So with further testing, a restart is required if the user is using their system, otherwise they'll continue to get the notifications.
    • SOLVED lpadmin - remove printer with a space in the name
      IT Discussion • unix apple osx printers administration lpadmin ard • • DustinB3403  

      4
      0
      Votes
      4
      Posts
      340
      Views

      @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
    • OSX 10.14.X Bug - Roaming AD Accounts unable to login when Off Network
      IT Discussion • apple active directory osx bug mobile accounts 10.14 • • DustinB3403  

      4
      2
      Votes
      4
      Posts
      170
      Views

      @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
    • OSX Shell Error Operation Not Permitted
      IT Discussion • security apple scripting bash osx shell troubleshooting brew quarantine • • DustinB3403  

      2
      2
      Votes
      2
      Posts
      207
      Views

      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
    • OSX Unix Using Brew to install software remotely
      IT Discussion • unix apple osx brew apple remote desktop • • DustinB3403  

      20
      0
      Votes
      20
      Posts
      348
      Views

      @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.