Republicans and Democrats appeared to harden their positions on Sunday as both sides hunkered down for what could be a prolonged fight, with a US government shutdown in its second day.