C-83
Cisco Signaling Gateway Manager User Guide
OL-5742-01
Appendix C SGM Command Reference
sgm setpath
and appends lines such as these to the user's .cshrc file:
set path=($path /opt/CSCOsgm/bin /opt/CSCOsgmClient/bin) # CiscoSGM
Thereafter, you can enter SGM commands like this:
sgm help
instead of like this:
/opt/CSCOsgm/bin/sgm help
When entering this command, keep the following considerations in mind:
• If you enter this command and you do not specify a username, SGM appends
the bin directories to your path (that is, to the path for the user who is
currently logged in and entering the sgm setpath command).
• If you enter this command and you specify a username, SGM appends the bin
directories to the path for the specified user. To specify a username, the
following conditions must all be true:
–
You must be logged in as the root user.
–
The specified username must exist in the local /etc/passwd file.
–
You cannot specify a username that is defined in a distributed Network
Information Services (NIS) system or in an Network File
System-mounted (NFS-mounted) home directory.
• If you enter this command more than once for the same user, each command
overwrites the previous command. SGM does not append multiple bin
directories to the same path.
• You might need to use the su - command when entering root-level commands.
If you use the su command to become the root user, rather than logging in as
the root user, then you must use the - option.
List of SGM Commands
• SGM Command Reference, page C-1.