Command option processing
Some pdadmin command options use specific symbols or characters.
–gsouser option: pdadmin sec_master> user import –gsouser mlucaser cn=mlucaser,o=Tivoli,c=USThe pdadmin command interprets any token beginning with a hyphen as a command option, even if the hyphen is placed within double quotation marks.
–mlucaser or "–mlucaser" by
entering: pdadmin sec_master> user import –gsouser –mlucaser cn=mlucaser,o=tivoli,c=usIn this example, the first –gsouser option in
the command is still processed. However, because the user name token
begins with a hyphen, the user name would be interpreted as a command
option. The command would fail because the —mlucaser command
option does not exist.
Specify the single hyphen character to
turn off the interpretation
of the optional arguments, by the pdadmin command.
Following the single hyphen character, –mlucaser is
now interpreted as the user name.
pdadmin sec_master> user import –gsouser – –mlucaser cn=mlucaser,o=Tivoli,c=usOptions on the command line are position-independent. You can change the order so that all tokens that begin with a hyphen, which are not command options, follow the single hyphen character.