Somalia's president sacked his police and intelligence chiefs Wednesday after Islamist Shebab fighters launched a major assault against his palace for the second time this year.