An indefinite prison term sentence given to a 24-year-old man over a fatal random knife attack aboard a shinkansen in 2018 was finalized Tuesday after the ruling was not appealed.