What is passengers name
Names of passenger and other details like age, gender etc. are personal details and therefore are not disclosed by Railways. Only the person who has booked the ticket can know about the passenger details.
While PNR checking, the passenger details are never divulged.
However, ticket checker carries the chart on the train which has the passenger names and other details as well so that he can verify the passenger information and ensure that all passengers have a valid ticket.