
smbrun (1)

Samba
23 Oct 1998

NAME

smbrun - interface program between smbd and external programs
smbrun - smbdⲿĽӿڳ 

SYNOPSIS

smbrun shell-command

DESCRIPTION

This program is part of the Samba suite.
˳samba׼һ֡ 

smbrun is a very small 'glue' program, which runs shell commands for the smbd 
daemon smbd (8).
smbrunǸǳСġճϡΪsmbdػsmbd (8)һЩshell

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.
Ȱûݸĳܴﵽ߽Ȼsystem()õС
˳һЩϵͳԷrootⲿ

OPTIONS
ѡ 
  shell-command 
  The shell command to execute. The command should have a fully-qualified path. 
  ҪִеshellȻˣӦôȫ· 

ENVIRONMENT VARIABLES

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.
ûи·ϢsmbrunִʱPATH Ӱִгλü
С

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.
smbrun޷һ߲ͨsmbdִУǿsmbd¼ļҵһЩӦ
ϢһЩϿԹ۲shellʹshellʱӦǳ
ȡ

VERSION
汾
This man page is correct for version 2.0 of the Samba suite.
ֲҳsamba׼汾2.0ġ 

SEE ALSO

smb.conf (5), smbd (8) 

AUTHOR

The original Samba software and related utilities were created by Andrew 
Tridgell samba-bugs@samba.org. Samba is now developed by the Samba Team as an 
Open Source project similar to the way the Linux kernel is developed. 
sambaعAndrew Tridgell samba-bugs@samba.orgsamba
ΪLinuxں˿õĿԴƻʽչ

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 ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba2.0 
release by Jeremy Allison. samba-bugs@samba.org. 
sambaֲҳKarl 
Auer׫дԴѱתYODL(һּõĿԴ
ftp://ftp.icce.rug.nl/pub/unix/)ʽJeremy Allisonµsamba2.0汾

See samba (7) to find out how to get a full list of contributors and details on 
how to submit bug reports, comments etc.
μsamba (7)λһάбԼύ󱨸漰עȵȡ

[İά] meaculpa email:meaculpa@21cn.com
[İ¸] 2000/12/08
MAN-PAGEƻ:http://www.cmpp.net/