watchword

WATCHWORD, n. [watch and word.] The word given to sentinels, and to such as have occasion to visit the guards, used as a signal by which a friend is known from an enemy, or a person who has a right to pass the watch, from one who has not.