President Barack Obama on Thursday signed a compromise budget that reduces the risk of another government shutdown for at least two years, Reuters reports.