1 2 3 4 5 6 7<html><head><title>smbrun (1)</title> 8 9<link rev="made" href="mailto:samba@samba.org"> 10</head> 11<body> 12 13<hr> 14 15<h1>smbrun (1)</h1> 16<h2>Samba</h2> 17<h2>23 Oct 1998</h2> 18 19 20 21<p><a name="NAME"></a> 22<h2>NAME</h2> 23 smbrun - interface program between smbd and external programs 24<p><a name="SYNOPSIS"></a> 25<h2>SYNOPSIS</h2> 26 27<p><strong>smbrun</strong> <a href="smbrun.1.html#shellcommand">shell-command</a> 28<p><a name="DESCRIPTION"></a> 29<h2>DESCRIPTION</h2> 30 31<p>This program is part of the <strong>Samba</strong> suite. 32<p><strong>smbrun</strong> is a very small 'glue' program, which runs shell commands 33for the <a href="smbd.8.html"><strong>smbd</strong></a> daemon <a href="smbd.8.html"><strong>smbd 34(8)</strong></a>. 35<p>It first changes to the highest effective user and group ID that it 36can, then runs the command line provided using the system() call. This 37program is necessary to allow some operating systems to run external 38programs as non-root. 39<p><a name="OPTIONS"></a> 40<h2>OPTIONS</h2> 41 42<p><dl> 43<p><a name="shellcommand"></a> 44<p></p><dt><strong><strong>shell-command</strong></strong><dd> The shell command to execute. The command 45should have a fully-qualified path. 46<p></dl> 47<p><a name="ENVIRONMENTVARIABLES"></a> 48<h2>ENVIRONMENT VARIABLES</h2> 49 50<p>The <em>PATH</em> variable set for the environment in which <strong>smbrun</strong> is 51executed will affect what executables are located and executed if a 52fully-qualified path is not given in the command. 53<p><a name="DIAGNOSTICS"></a> 54<h2>DIAGNOSTICS</h2> 55 56<p>If <strong>smbrun</strong> cannot be located or cannot be executed by 57<a href="smbd.8.html"><strong>smbd</strong></a> then appropriate messages will be found in 58the <a href="smbd.8.html"><strong>smbd</strong></a> logs. Other diagnostics are dependent 59on the shell-command being run. It is advisable for your shell 60commands to issue suitable diagnostics to aid trouble-shooting. 61<p><a name="VERSION"></a> 62<h2>VERSION</h2> 63 64<p>This man page is correct for version 2.0 of the Samba suite. 65<p><a name="SEEALSO"></a> 66<h2>SEE ALSO</h2> 67 68<p><a href="smb.conf.5.html"><strong>smb.conf (5)</strong></a>, <a href="smbd.8.html"><strong>smbd (8)</strong></a> 69<p><a name="AUTHOR"></a> 70<h2>AUTHOR</h2> 71 72<p>The original Samba software and related utilities were created by 73Andrew Tridgell <a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>. Samba is now developed 74by the Samba Team as an Open Source project similar to the way the 75Linux kernel is developed. 76<p>The original Samba man pages were written by Karl Auer. The man page 77sources were converted to YODL format (another excellent piece of Open 78Source software, available at 79<a href="ftp://ftp.icce.rug.nl/pub/unix/"><strong>ftp://ftp.icce.rug.nl/pub/unix/</strong></a>) 80and updated for the Samba2.0 release by Jeremy Allison. 81<a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>. 82<p>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full 83list of contributors and details on how to submit bug reports, 84comments etc. 85</body> 86</html> 87