smbrun
1
smbrun
interface program between smbd and external
programs
smbrun
<shell command>
DESCRIPTION
This tool is part of the
Samba suite.
smbrun is a very small 'glue' program,
which runs shell commands for the
smbd(8) daemon.
It first changes to the highest effective user and group
ID that it can, then runs the command line provided using the
system() call. This program is necessary to allow some operating
systems to run external programs as non-root.
OPTIONS
shell command
The shell command to execute. The
command should have a fully-qualified path.
ENVIRONMENT VARIABLES
The PATH variable set for the
environment in which smbrun is executed will affect
what executables are located and executed if a fully-qualified path
is not given in the command.
DIAGNOSTICS
If smbrun cannot be located or cannot
be executed by smbd(8)
, then appropriate messages will be found in the
smbd logs. Other diagnostics are dependent on the shell-command
being run. It is advisable for your shell commands to issue suitable
diagnostics to aid trouble-shooting.
VERSION
This man page is correct for version 2.2 of
the Samba suite.
SEE ALSO
nmbd(8),
smbclient(1)
, and
nmblookup(1)
AUTHOR
The original Samba software and related utilities
were created by Andrew Tridgell. Samba is now developed
by the Samba Team as an Open Source project similar
to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer.
The man page sources were converted to YODL format (another
excellent piece of Open Source software, available at
ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0
release by Jeremy Allison. The conversion to DocBook for
Samba 2.2 was done by Gerald Carter