how to stop _mbsetupuser account from taking ownership of computers

DBrowning
Valued Contributor II

does anyone know how i can stop this account used when someone is upgrading to El Capitan from taking over the Users and Location section? I've now manually deleted the account from the JSS 5 times and it keeps coming back anytime someone upgrades.

1 ACCEPTED SOLUTION

bpavlov
Honored Contributor

I suspect you have a script that's assigning the User to the computer using "jamf recon -endUsername". If so, could you post the script that you're using. If not, explain how you're assigning users to the computer in the JSS and we can maybe track why that field is being updated.

View solution in original post

5 REPLIES 5

bpavlov
Honored Contributor

I suspect you have a script that's assigning the User to the computer using "jamf recon -endUsername". If so, could you post the script that you're using. If not, explain how you're assigning users to the computer in the JSS and we can maybe track why that field is being updated.

DBrowning
Valued Contributor II

thanks @bpavlov

I was using

who |grep console |awk '{print $1}'

but now i'm using

ls -l /dev/console | cut -d " " -f4

Dalmatian
Contributor

Hi @ddcdennisb i have the same issue. does the 'console' and 'who' get the correct user now?

tkimpton
Valued Contributor II

from 10.11.2

ls -l /dev/console | cut -d " " -f4

will get root. You will need to check your scripts and make sure instead you are using

who | grep console | awk '{print $1}'

:(

tkimpton
Valued Contributor II

will need to check again as my personal laptop seems fine with it :/

Apologies seems after install from fresh and its ok :)