I know, there are a lot of ways normally, but hear me out. I'm working on a Mac Mini that is having issues. After enrolling it in Casper and bringing it up to El Cap, at some point during this process, all admin rights were removed from all the accounts on the machine, including the administrator account that Casper installed. They're all standard accounts now.
My casper management account may have admin rights, but I don't know what the password is for it, because it's not taking the password I assigned to it, and it's hidden. This is kind of a separate frustration, don't know why the management password is something other than what I assigned, and why the JSS doesn't know what it is either. Could be related to everything else that happened on this box though.
So there are zero accounts on this mini with admin rights. To compound this problem:
Jamf management account not taking the password it's supposed to have so I cannot do anything on it from Casper as all attempts fail with a bad password error. I have a script that elevates from standard to admin but Casper can't authenticate and can't do it locally on the Mac because no admin accounts.
There is no recovery partition on this Mac Mini. Don't know why, but regardless, it's not there. This prevents me from booting to recovery and using the resetpassword tool.
Can't run the dsedit command from terminal to elevate a standard user account to admin because it requires an admin account to do that. Catch 22.
Can't run dsedit command from single user mode because it fails
Can't enable root because it requires admin credentials to unlock the Users & Groups panel, and also Directory Utility.
And finally, just assume for now that we can't format the drive and start over. I know this isn't strictly Casper related, but was hoping somebody here might have an idea for what I could try next. The googling I've done just keeps bringing up solutions involving the recovery partition and/or dsedit. Am I just out of options?