Skip to main content
Solved

how to stop _mbsetupuser account from taking ownership of computers

  • November 6, 2015
  • 5 replies
  • 47 views

DBrowning
Forum|alt.badge.img+25

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.

Best answer by bpavlov

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.

5 replies

bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • Answer
  • November 6, 2015

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
Forum|alt.badge.img+25
  • Author
  • Esteemed Contributor
  • November 6, 2015

thanks @bpavlov

I was using

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

but now i'm using

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

Forum|alt.badge.img+6
  • Contributor
  • November 17, 2015

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


Forum|alt.badge.img+21
  • Honored Contributor
  • December 14, 2015

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}'

:(


Forum|alt.badge.img+21
  • Honored Contributor
  • December 14, 2015

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

Apologies seems after install from fresh and its ok :)