Skip to main content

I am looking for a way to remove a firmware password via JSS policy. I work for a school district and we try to lockdown the computers so that the student don't have access to the recovery panel amongst other things. The problem is that there seems to be an issue with at least one of the computers not recognizing our firmware password, so we have no access either.



Is there a way to do this using the built in policy (under accounts), or am I going to want to write a script based on the firm passwords article?



Possibly helpful information:
MacBook Airs (Mid-2011)
Lion 10.7.4 and some 10.7.5
current JSS 8.61

@rmorse can you give me a layman's rundown on how to execute this script please.



I was able to create a script that removes the current firmware password. I modified some scripts that I found in the thread that @Chris posted. Hopefully this helps people!



!/bin/bash



/usr/bin/expect<<EOF



spawn firmwarepasswd -delete
expect {



"Enter password:" {
send "YOUR_CURRENT_PASSWORD
"
exp_continue
}



}
EOF
echo "Firmware Password Has Been Removed"
echo "Now sleep"
sleep 5
echo "Initiating Reboot. . ."
reboot


I was able to create a script that removes the current firmware password. I modified some scripts that I found in the thread that @Chris posted. Hopefully this helps people!



#!/bin/bash
#
/usr/bin/expect<<EOF

spawn firmwarepasswd -delete
expect {

"Enter password:" {
send "YOUR_CURRENT_PASSWORD
"
exp_continue
}

}
EOF
echo "Firmware Password Has Been Removed"
echo "Now sleep"
sleep 5
echo "Initiating Reboot. . ."
reboot


for that works, I have to my current password I think, right? What if I have an Firmware password set in my mac but via Extension Attribute from this location i.e /private/var/.fp , we are unable to capture the passwords in JAMF. Can you have a solution for this?


I was able to create a script that removes the current firmware password. I modified some scripts that I found in the thread that @Chris posted. Hopefully this helps people!



#!/bin/bash
#
/usr/bin/expect<<EOF

spawn firmwarepasswd -delete
expect {

"Enter password:" {
send "YOUR_CURRENT_PASSWORD
"
exp_continue
}

}
EOF
echo "Firmware Password Has Been Removed"
echo "Now sleep"
sleep 5
echo "Initiating Reboot. . ."
reboot


RMorse:


 


I am too green at this but want to use my macbook Airbook. I set a firmware pw and promptly forgot it. So, if this script you ventured as a fix works, where/how do i enter it? as of now the airbook boots to the Lock Icon and that's all I got. If there's a way to boot straight to script or terminal I'm sorry I don't know how to pull those up with the firmware pw locking the machine.

Any help would be greatly appreciated. Reply here or rosshvac8@gmail and thanks so much! 


 


Regards˜


Austen


Reply