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