Former Alaska Gov. Sarah Palin on Tuesday commended President Barack Obama for stopping transfers of Guantanamo Bay prisoners to Yemen.

In a Facebook post that was otherwise highly critical of the Obama administration's approach to counter-terrorism, Palin gave the White House some kudos for announcing Tuesday it will halt the transfers opposed by Republicans.


"President Obama was right to change his policy and decide to send no more detainees to Yemen where they can be free to rejoin their war on America," she wrote. "Now he must back off his reckless plan to close Guantanamo."

The 2008 GOP vice presidential nominee criticized the "fatally flawed" approach to counter-terrorism, saying that the president needs to treat the terrorist threat like a war and not a law enforcement problem.

Republicans have ramped up their condemnations of Obama's national security stance after the failed Christmas Day bombing of Northwest Airlines Flight 253, saying the White House needs to react stronger to the terror attempt. 

Palin keyed in on remarks made by Obama's top counter-terrorism adviser John Brennan on Sunday during which he said that the government may glean more information from bombing suspect 23-year-old Umar Farouk Abdulmutallab through plea agreements.

"President Obama’s advisers lamely claim Abdulmutallab might be willing to agree to a plea bargain – pretty doubtful you can cut a deal with a suicide bomber," she wrote.

Palin also took a shot at Obama's background as a law instructor at the University of Chicago, saying his prior job doesn't lend itself to fighting terror.

"The real nature of the terrorist threat requires a commander-in-chief, not a constitutional law professor," she wrote.