summaryrefslogtreecommitdiffstats
path: root/docs/manpages/smbrun.1
blob: b086bc40784ea4144a1a22f51ef4f4f79e68098b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.TH SMBRUN 1 "14 Nov 1998" "smbrun 2.0.0-beta1"
.PP 
.SH "NAME" 
smbrun \- interface program between smbd and external programs
.PP 
.SH "SYNOPSIS" 
.PP 
\fBsmbrun\fP shell-command
.PP 
.SH "DESCRIPTION" 
.PP 
This program is part of the \fBSamba\fP suite\&.
.PP 
\fBsmbrun\fP is a very small \'glue\' program, which runs shell commands
for the \fBsmbd\fP daemon \fBsmbd
(8)\fP\&.
.PP 
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\&.
.PP 
.SH "OPTIONS" 
.PP 
.IP 
.IP "\fBshell-command\fP" 
The shell command to execute\&.  The command
should have a fully-qualified path\&.
.IP 
.PP 
.SH "ENVIRONMENT VARIABLES" 
.PP 
The \fIPATH\fP variable set for the environment in which \fBsmbrun\fP is
executed will affect what executables are located and executed if a
fully-qualified path is not given in the command\&.
.PP 
.SH "DIAGNOSTICS" 
.PP 
If \fBsmbrun\fP cannot be located or cannot be executed by
\fBsmbd\fP then appropriate messages will be found in
the \fBsmbd\fP 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\&.
.PP 
.SH "VERSION" 
.PP 
This man page is correct for version 2\&.0 of the Samba suite\&.
.PP 
.SH "SEE ALSO" 
.PP 
\fBsmb\&.conf (5)\fP, \fBsmbd (8)\fP
.PP 
.SH "AUTHOR" 
.PP 
The original Samba software and related utilities were created by
Andrew Tridgell \fIsamba-bugs@samba\&.anu\&.edu\&.au\fP\&. Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed\&.
.PP 
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
\fBftp://ftp\&.icce\&.rug\&.nl/pub/unix/\fP)
and updated for the Samba2\&.0 release by Jeremy Allison\&.
\fIsamba-bugs@samba\&.anu\&.edu\&.au\fP\&.
.PP 
See \fBsamba (7)\fP to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc\&.