Mac Scripting – Adobe CC Force Logout

Thursday, February 28th, 2019 | Mac Scripting | 1 Comment

So, clearly I’m not keeping this blog up as much as I intended to, but I felt like I needed to make a post here for this. I do a lot of Mac Scripting for my job, and a lot of the time I suspect I’m reinventing the wheel. This is partly because I suspect people don’t always share their solutions to what could be common problems.

I needed a solution to force Adobe CC to log out the current user for my student computer lab. It took me some time to dig up the where the credentials were stored, so I submit to you the resulting script that will force a logout of a use logged in to Adobe CC.

It is worth noting that this will not immediately force a logout, but rather it prevents the user from being logged back in to Adobe CC upon startup. I have this scripted as a logout script so that whenever the computers in my computer lab are rebooted or shut down, they clear the Adobe credentials.


# Written by KClose
# Last updated 02/28/2019
# This script forces a logout of the Adobe Creative Cloud Application as well as additional Adobe keychain credentials.
# Additional applications may require additional scripting to force a logout.

# Define the target user.
# I use JAMF which has a standard variable of $3 for the currently logged in user.

# Look for the OOBE folder.
if [ -d "/Users/$TargetUser/Library/Application Support/Adobe/OOBE" ]; then
	# Reset all credentials for Creative Cloud login. Creative Cloud will not log in on the next reboot.
	echo "Deleting OOBE folder."
    rm -rf /Users/$TargetUser/Library/Application\ Support/Adobe/OOBE
	echo "OOBE not found."

# Check for additional Adobe credentials in the keychain.
XDSignOn="$(security find-generic-password -l Adobe\ User\ Info "/Users/$TargetUser/Library/Keychains/login.keychain" | grep -i 'version')"

# If a version number is found, that means there are credentials stored.
if [[ "$SignOn" == *"version:"* ]]; then
	# Clear the additional Adobe credentials.
    echo "Clearing keychain items."
	security delete-generic-password -l Adobe\ User\ Info "/Users/$TargetUser/Library/Keychains/login.keychain"
	security delete-generic-password -l Adobe\ User\ OS\ Info "/Users/$TargetUser/Library/Keychains/login.keychain"   
	echo "No additional credentials found."

echo "Adobe Credentials cleared."

Tags: , , , , , ,

Kids and Carpentry…

Monday, November 3rd, 2014 | Family | No Comments

…in which I talk about how I’m a terrible carpenter, but how that doesn’t matter when you’re only 7 years old.

This weekend, Ansel wanted to do a woodworking project. You see, at his request, we bought him some tools for Christmas. Not toy tools either, but real, kid sized tools. I don’t do a lot of projects around the house, but with the occasional inspiration, or infrequent maintenance, I do have the tools out now and again. Often enough, it would seem, that Ansel wanted to get his own set.

Hard at Work

So when I asked Ansel what he wanted to do this weekend, he said he wanted to build something out of wood. I said, “Okay, but we can’t just ‘build something,’ we need to have an idea about what we’re building.” He gave it some thought and decided that he wanted to build a toy. Well, no surprises there. I asked him to be more specific and really think about what he wanted to make. He ultimately decided he wanted to build a toy boat.

› Continue reading

Tags: , , ,

Fiasco in the Funhouse…

Friday, April 26th, 2013 | Gaming | 1 Comment

…in which I rise from the dead and share some more gaming material.

This past weekend was ReaperCon 2013. I’ve been attending ReaperCon for three years now, primarily for the gaming, but secondarily, for the metal trade. For the past two years, I’ve actually been a volunteer game master. And in this role, I’ve used this forum to introduce people to Fisaco!


A game of powerful ambition & poor impulse control

Fiasco! is an unconventional role playing game that is, by design, a one shot story that attempts to simulate great movies of ambition gone sideways. Movies like Fargo and Lock, Stock & Two Smoking Barrels are about normal, everyday people who find themselves in a rapidly decaying situation in which they struggle to get out alive, and often fail. Jason Morningstar wrote Fiasco! in an attempt to capture that same feeling in a loosely structured role playing framework. I was immediately intrigued and petrified by the entire concept of a fully improvisational, unguided, free form game. But after several sessions with close friends, I have decided that this is an experience that everyone should try at least once. And this led me to volunteer my services at ReaperCon.

› Continue reading

Tags: , ,

It’s Character Building…

Friday, July 6th, 2012 | Gaming | 4 Comments

…in which I talk a little about the new Marvel Heroic Roleplaying system, and present my first character build.

Honestly, this is less of a blog and more of an excuse to publish my build of Havok for my upcoming game of the new Margaret Weis Productions Marvel Heroic Roleplaying game. And to that effect, I’m going to cut to the chase and post the datafile first since I suspect/hope that’s what most visitors will be looking for.

› Continue reading

Tags: , ,

Four Hundred and Twenty Six Days…

Friday, June 15th, 2012 | Memories, Motorcycling | 2 Comments

… in which I talk about my future mode of transportation.

So, it’s not something I ever really talked about before. It never seemed like something that would ever really happen, so it kind of lived in the dark recesses of my mind – covered in cobwebs, dusted over with discarded thoughts, and long forgotten. But due to a series of events and realizations, it was dragged back out into the light and cleaned up a little, and now I can’t stop thinking about it. Part of it is an argument for efficiency, part of it is a longing for adventure, and yes, there’s a bit of jealously in there, too. The matters of how and why are inconsequential, since it has already been decided and a date has been set. In four hundred and twenty six days, I will have a motorcycle.

› Continue reading

Tags: , , , ,

My Vision of the Future Remains Unchanged…

Wednesday, February 22nd, 2012 | Health | 4 Comments

…in which I talk about my recent discoveries behind my double vision.

So,  a while back, I spoke at length about how of late I’ve been suffering from double vision. I mentioned how I would be going to a new doctor to see if they had any better ideas on how to correct this vision impairment. I did some research and ended up discarding all the suggestions and referrals that were offered to me and instead went with a Ophthalmologist here in town. The office actually has two Ophthalmologists and an Optometrist, so I thought it sounded like a professional decision. It’s been a little over two months since my initial visit and a lot of exciting and bittersweet facts have been revealed to me.

› Continue reading

Tags: , , , , , ,

Finding the Path…

Wednesday, February 8th, 2012 | Gaming | 2 Comments

…in which I talk about Pathfinder and role-playing in general.

So, it’s no secret to anyone that I play and love role-playing games. I’ve been playing D&D in some fashion or another for the past 24  years, starting with a game at lunch in the 5th grade. I still remember how terrible that game was. We only played once and it was a chaotic mess of pre-teen imagination and fantasized gore. That didn’t dissuade me from the game, rather, from that I saw potential for something so much better. With story, and better understanding of the mechanics, there could be something so much greater. It would be years, however, until I discovered that potential.

› Continue reading

Tags: , , ,

The Trouble with Temporal Manipulation…

Thursday, February 2nd, 2012 | Life | No Comments

…in which I talk about the futility of regret.

Wow, so time has been really weird lately. Pretty much the entire month of January slipped by without me even noticing. A combination of rabid sickness, the start of the new semester, a new Pathfinder game, and Skyrim all piled up and devoured my time. Days and weeks raced by until it was all of a sudden February. Even yesterday kind of got lost as we finally got our UNT W-2 forms and were able to file our taxes. Things have been slowing down though, so maybe I’ll be able to get back into a normal time stream. Nevertheless, I digress from my intended topic of the day, a thought that occurs to me often, but most recently while mowing the lawn last weekend. I’m talking about regrets.

› Continue reading

Tags: , ,

I Used to Write a Weekly Blog…

Wednesday, January 11th, 2012 | Video Games | No Comments

Dragon Shout


…but I’ve been busy.

Tags: , ,

Waiting for Life…

Thursday, December 15th, 2011 | Life, Work | No Comments

…in which I talk about the “real world,” and what that means to me.

Every now and then I take a look at my life and try to decide if I’m “grown up.” I’m not talking about age or maturity, or even my place in society, but grown up in the child-like vision of “when I grow up.” I honestly can’t remember any of the concepts I had of myself grown up, from when I was a child, but I can’t imagine that this is what I saw. But then again, who idolizes themselves sitting in an office all day managing a computer lab and maintaining a college website?

› Continue reading

Tags: , ,

Social Slider



October 2023