SUSE Manager/Spacecmd

From MicroFocusInternationalWiki
Revision as of 09:45, 16 March 2015 by Gameboy974 (Talk | contribs) (Undo revision 21694 by (talk))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SUSE Manager Main Page

spacecmd is acting weird

When running 'spacecmd', it does not seem to accept commands or options:

spacecmd user_create -u tux -l lotr -e --pam
Usage: spacecmd [options] [command]

When running spacecmd non-interactively, you must take care to escape arguments passed to the spacecmd functions. This involves putting '--' before the command starts so that the arguments to the function are not treated as global arguments to spacecmd. You must also escape any quotes that you pass to the functions so that the shell does not interpret them.


spacecmd -s server1 -- softwarechannel_create -n \'My Channel\' -l channel1 -a x86_64