Section 105(2) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(2)The rules for paying marks of respect in the following circumstances shall be as indicated against each:(a)A Chief Petty Officer, Petty Officer, or man, who is standing about shall face and salute an officer who passes him; if sitting when an officer approaches, he shall rise, stand to attention and salute.(b)Organized parties of men in charge of an officer or sailor shall be called to attention, the officer or sailor in charge only saluting.(c)When other parties of Chief Petty Officers, Petty Officers, or men on shore are passing or being passed by an officer, all shall salute.(d)Officers and sailors riding a bicycle (pedal or motor) shall salute.(e)The senior officer or sailor in a vehicle, whether driver or passenger, shall salute when passing a senior officer, the remaining passengers in the vehicle meanwhile sitting to attention.Explanation. - No officer shall expect to be saluted if a rider or driver is in difficulty or danger.