If you meet your boss in public, you can't show special enthusiasm or familiarity with him. Just say hello to him politely, such as "hello". What needs special attention is not to talk endlessly with the leaders. If you are far away from your leader, don't say hello loudly, just nod your head.
When you meet a leader in an elevator or something, you must let the leader get on or off the elevator first, and say, after you.