summaryrefslogtreecommitdiff
path: root/docs/htmldocs/smbrun.1.html
blob: b8d1021d562677635a9844e320133f4508d9e783 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86


 


<html><head><title>smbrun</title>

<link rev="made" href="mailto:samba-bugs@samba.anu.edu.au">
</head>
<body>

<hr>

<h1>smbrun</h1>
<h2>Samba</h2>
<h2>23 Oct 1998</h2>

    

    
<p><br><a name="NAME"></a>
<h2>NAME</h2>
    smbrun - interface program between smbd and external programs
<p><br><a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
     
<p><br><strong>smbrun</strong> <a href="smbrun.1.html#shellcommand">shell-command</a>
<p><br><a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
    
<p><br>This program is part of the <strong>Samba</strong> suite.
<p><br><strong>smbrun</strong> is a very small 'glue' program, which runs shell commands
for the <a href="smbd.8.html"><strong>smbd</strong></a> daemon <a href="smbd.8.html"><strong>smbd
(8)</strong></a>.
<p><br>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.
<p><br><a name="OPTIONS"></a>
<h2>OPTIONS</h2>
    
<p><br><ul>
<p><br><a name="shellcommand"></a>
<li><strong><strong>shell-command</strong></strong> The shell command to execute.  The command
should have a fully-qualified path.
<p><br></ul>
<p><br><a name="ENVIRONMENTVARIABLES"></a>
<h2>ENVIRONMENT VARIABLES</h2>
    
<p><br>The <em>PATH</em> variable set for the environment in which <strong>smbrun</strong> is
executed will affect what executables are located and executed if a
fully-qualified path is not given in the command.
<p><br><a name="DIAGNOSTICS"></a>
<h2>DIAGNOSTICS</h2>
    
<p><br>If <strong>smbrun</strong> cannot be located or cannot be executed by
<a href="smbd.8.html"><strong>smbd</strong></a> then appropriate messages will be found in
the <a href="smbd.8.html"><strong>smbd</strong></a> 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.
<p><br><a name="VERSION"></a>
<h2>VERSION</h2>
    
<p><br>This man page is correct for version 2.0 of the Samba suite.
<p><br><a name="SEEALSO"></a>
<h2>SEE ALSO</h2>
    
<p><br><a href="smb.conf.5.html"><strong>smb.conf (5)</strong></a>, <a href="smbd.8.html"><strong>smbd (8)</strong></a>
<p><br><a name="AUTHOR"></a>
<h2>AUTHOR</h2>
    
<p><br>The original Samba software and related utilities were created by
Andrew Tridgell <a href="mailto:samba-bugs@samba.anu.edu.au"><em>samba-bugs@samba.anu.edu.au</em></a>. Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed.
<p><br>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
<a href="ftp://ftp.icce.rug.nl/pub/unix/"><strong>ftp://ftp.icce.rug.nl/pub/unix/</strong></a>)
and updated for the Samba2.0 release by Jeremy Allison.
<a href="mailto:samba-bugs@samba.anu.edu.au"><em>samba-bugs@samba.anu.edu.au</em></a>.
<p><br>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc.
</body>
</html>