Section 105(2)(a) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(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.