smbrun1
Interface program between smbd and external programs
Usage
smbrun shell-command
Overview
This program is part of the Samba suite.
smbrun is a very small ´glue´ program, which runs shell commands for the smbd daemon smbd (8).
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
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 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.0 of the Samba suite.
History
- Debian 2.1 (Slink): the text shown here
- Debian 2.0 (Hamm)
- Debian 1.3 (Bo)
- Debian 1.2 (Rex)
- Debian 1.1 (Buzz)