[root@localhost bin]# ./winexe -h
winexe version 0.90
This program may be freely redistributed under the terms of the GNU GPL
Usage: winexe [-?] [-?] [-?] [-?NP] [-?NPV] [-?|--help] [--usage] [-d|--debuglevel DEBUGLEVEL]
[--debug-stderr] [-s|--configfile CONFIGFILE] [--option=name=value]
[-l|--log-basename LOGFILEBASE] [--leak-report] [--leak-report-full]
[-R|--name-resolve NAME-RESOLVE-ORDER]
[-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]
[-W|--workgroup WORKGROUP] [--realm=REALM] [-i|--scope SCOPE]
[-m|--maxprotocol MAXPROTOCOL] [-U|--user [DOMAIN\]USERNAME[%PASSWORD]]
[-N|--no-pass] [--password=STRING] [-A|--authentication-file FILE]
[-S|--signing on|off|required] [-P|--machine-pass]
[--simple-bind-dn=STRING] [-k|--kerberos STRING]
[--use-security-mechanisms=STRING] [-V|--version] [--uninstall]
[--reinstall] [--system] [--runas=[DOMAIN\]USERNAME%PASSWORD]
[--interactive=0|1] [--ostype=0|1|2] //host command
[root@localhost bin]# ./winexe -?
Usage: winexe //host command
--uninstall Uninstall winexe service after
remote execution
--reinstall Reinstall winexe service before
remote execution
--system Use SYSTEM account
--runas=[DOMAIN\]USERNAME%PASSWORD Run as user (BEWARE: password is
sent in cleartext over net)
--interactive=0|1 Desktop interaction: 0 -
disallow, 1 - allow. If you
allow use also --system switch
(Win requirement). Vista do not
support this option.
--ostype=0|1|2 OS type: 0 - 32bit, 1 - 64bit, 2
- winexe will decide. Determines
which version (32bit/64bit) of
service will be installed.
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
--debug-stderr Send debug output to STDERR
-s, --configfile=CONFIGFILE Use alternative configuration
file
--option=name=value Set smb.conf option from command
line
-l, --log-basename=LOGFILEBASE Basename for log/debug files
--leak-report enable talloc leak reporting on
exit
--leak-report-full enable full talloc leak
reporting on exit
Connection options:
-R, --name-resolve=NAME-RESOLVE-ORDER Use these name resolution
services only
-O, --socket-options=SOCKETOPTIONS socket options to use
-n, --netbiosname=NETBIOSNAME Primary netbios name
-W, --workgroup=WORKGROUP Set the workgroup name
--realm=REALM Set the realm name
-i, --scope=SCOPE Use this Netbios scope
-m, --maxprotocol=MAXPROTOCOL Set max protocol level
Authentication options:
-U, --user=[DOMAIN\]USERNAME[%PASSWORD] Set the network username
-N, --no-pass Don't ask for a password
--password=STRING Password
-A, --authentication-file=FILE Get the credentials from a file
-S, --signing=on|off|required Set the client signing state
-P, --machine-pass Use stored machine account
password (implies -k)
--simple-bind-dn=STRING DN to use for a simple bind
-k, --kerberos=STRING Use Kerberos
--use-security-mechanisms=STRING Restricted list of
authentication mechanisms
available for use with this
authentication
Common samba options:
-V, --version Print version