mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
106
docs/docbook/manpages/smbrun.1.sgml
Normal file
106
docs/docbook/manpages/smbrun.1.sgml
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
||||||
|
<refentry id="findsmb">
|
||||||
|
|
||||||
|
<refmeta>
|
||||||
|
<refentrytitle>smbrun</refentrytitle>
|
||||||
|
<manvolnum>1</manvolnum>
|
||||||
|
</refmeta>
|
||||||
|
|
||||||
|
|
||||||
|
<refnamediv>
|
||||||
|
<refname>smbrun</refname>
|
||||||
|
<refpurpose>interface program between smbd and external
|
||||||
|
programs</refpurpose>
|
||||||
|
</refnamediv>
|
||||||
|
|
||||||
|
<refsynopsisdiv>
|
||||||
|
<cmdsynopsis>
|
||||||
|
<command>smbrun</command>
|
||||||
|
<arg choice="req"><shell command></arg>
|
||||||
|
</cmdsynopsis>
|
||||||
|
</refsynopsisdiv>
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>DESCRIPTION</title>
|
||||||
|
|
||||||
|
<para>This tool is part of the <ulink url="samba.7.html">
|
||||||
|
Samba</ulink> suite.</para>
|
||||||
|
|
||||||
|
<para><command>smbrun</command> is a very small 'glue' program,
|
||||||
|
which runs shell commands for the <ulink url="smbd.8.html"><command>
|
||||||
|
smbd(8)</command></ulink> daemon.</para>
|
||||||
|
|
||||||
|
<para>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.</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>OPTIONS</title>
|
||||||
|
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>shell command</term>
|
||||||
|
<listitem><para>The shell command to execute. The
|
||||||
|
command should have a fully-qualified path.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>ENVIRONMENT VARIABLES</title>
|
||||||
|
|
||||||
|
<para>The <parameter>PATH</parameter> variable set for the
|
||||||
|
environment in which <command>smbrun</command> is executed will affect
|
||||||
|
what executables are located and executed if a fully-qualified path
|
||||||
|
is not given in the command.</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>DIAGNOSTICS</title>
|
||||||
|
|
||||||
|
<para>If <command>smbrun</command> cannot be located or cannot
|
||||||
|
be executed by <ulink url="smbd.8.html"><command>smbd(8)</command>
|
||||||
|
</ulink>, then appropriate messages will be found in the <command>
|
||||||
|
smbd</command> 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.</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>VERSION</title>
|
||||||
|
|
||||||
|
<para>This man page is correct for version 2.2 of
|
||||||
|
the Samba suite.</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>SEE ALSO</title>
|
||||||
|
<para><ulink url="nmbd.8.html"><command>nmbd(8)</command></ulink>,
|
||||||
|
<ulink url="smbclient.1.html"><command>smbclient(1)
|
||||||
|
</command></ulink>, and <ulink url="nmblookup.1.html">
|
||||||
|
<command>nmblookup(1)</command></ulink>
|
||||||
|
</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
<refsect1>
|
||||||
|
<title>AUTHOR</title>
|
||||||
|
|
||||||
|
<para>The original Samba software and related utilities
|
||||||
|
were created by Andrew Tridgell. Samba is now developed
|
||||||
|
by the Samba Team as an Open Source project similar
|
||||||
|
to the way the Linux kernel is developed.</para>
|
||||||
|
|
||||||
|
<para>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
|
||||||
|
<ulink url="ftp://ftp.icce.rug.nl/pub/unix/">
|
||||||
|
ftp://ftp.icce.rug.nl/pub/unix/</ulink>) and updated for the Samba 2.0
|
||||||
|
release by Jeremy Allison. The conversion to DocBook for
|
||||||
|
Samba 2.2 was done by Gerald Carter</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
|
</refentry>
|
@ -1,86 +1,215 @@
|
|||||||
|
<HTML
|
||||||
|
><HEAD
|
||||||
|
><TITLE
|
||||||
|
>smbrun</TITLE
|
||||||
|
><META
|
||||||
|
NAME="GENERATOR"
|
||||||
<html><head><title>smbrun (1)</title>
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
|
||||||
|
><BODY
|
||||||
<link rev="made" href="mailto:samba@samba.org">
|
CLASS="REFENTRY"
|
||||||
</head>
|
BGCOLOR="#FFFFFF"
|
||||||
<body>
|
TEXT="#000000"
|
||||||
|
LINK="#0000FF"
|
||||||
<hr>
|
VLINK="#840084"
|
||||||
|
ALINK="#0000FF"
|
||||||
<h1>smbrun (1)</h1>
|
><H1
|
||||||
<h2>Samba</h2>
|
><A
|
||||||
<h2>23 Oct 1998</h2>
|
NAME="FINDSMB"
|
||||||
|
>smbrun</A
|
||||||
|
></H1
|
||||||
|
><DIV
|
||||||
<p><a name="NAME"></a>
|
CLASS="REFNAMEDIV"
|
||||||
<h2>NAME</h2>
|
><A
|
||||||
smbrun - interface program between smbd and external programs
|
NAME="AEN5"
|
||||||
<p><a name="SYNOPSIS"></a>
|
></A
|
||||||
<h2>SYNOPSIS</h2>
|
><H2
|
||||||
|
>Name</H2
|
||||||
<p><strong>smbrun</strong> <a href="smbrun.1.html#shellcommand">shell-command</a>
|
>smbrun -- interface program between smbd and external
|
||||||
<p><a name="DESCRIPTION"></a>
|
programs</DIV
|
||||||
<h2>DESCRIPTION</h2>
|
><DIV
|
||||||
|
CLASS="REFSYNOPSISDIV"
|
||||||
<p>This program is part of the <strong>Samba</strong> suite.
|
><A
|
||||||
<p><strong>smbrun</strong> is a very small 'glue' program, which runs shell commands
|
NAME="AEN8"
|
||||||
for the <a href="smbd.8.html"><strong>smbd</strong></a> daemon <a href="smbd.8.html"><strong>smbd
|
></A
|
||||||
(8)</strong></a>.
|
><H2
|
||||||
<p>It first changes to the highest effective user and group ID that it
|
>Synopsis</H2
|
||||||
can, then runs the command line provided using the system() call. This
|
><P
|
||||||
program is necessary to allow some operating systems to run external
|
><B
|
||||||
programs as non-root.
|
CLASS="COMMAND"
|
||||||
<p><a name="OPTIONS"></a>
|
>smbrun</B
|
||||||
<h2>OPTIONS</h2>
|
> {<shell command>}</P
|
||||||
|
></DIV
|
||||||
<p><dl>
|
><DIV
|
||||||
<p><a name="shellcommand"></a>
|
CLASS="REFSECT1"
|
||||||
<p></p><dt><strong><strong>shell-command</strong></strong><dd> The shell command to execute. The command
|
><A
|
||||||
should have a fully-qualified path.
|
NAME="AEN12"
|
||||||
<p></dl>
|
></A
|
||||||
<p><a name="ENVIRONMENTVARIABLES"></a>
|
><H2
|
||||||
<h2>ENVIRONMENT VARIABLES</h2>
|
>DESCRIPTION</H2
|
||||||
|
><P
|
||||||
<p>The <em>PATH</em> variable set for the environment in which <strong>smbrun</strong> is
|
>This tool is part of the <A
|
||||||
executed will affect what executables are located and executed if a
|
HREF="samba.7.html"
|
||||||
fully-qualified path is not given in the command.
|
TARGET="_top"
|
||||||
<p><a name="DIAGNOSTICS"></a>
|
> Samba</A
|
||||||
<h2>DIAGNOSTICS</h2>
|
> suite.</P
|
||||||
|
><P
|
||||||
<p>If <strong>smbrun</strong> cannot be located or cannot be executed by
|
><B
|
||||||
<a href="smbd.8.html"><strong>smbd</strong></a> then appropriate messages will be found in
|
CLASS="COMMAND"
|
||||||
the <a href="smbd.8.html"><strong>smbd</strong></a> logs. Other diagnostics are dependent
|
>smbrun</B
|
||||||
on the shell-command being run. It is advisable for your shell
|
> is a very small 'glue' program,
|
||||||
commands to issue suitable diagnostics to aid trouble-shooting.
|
which runs shell commands for the <A
|
||||||
<p><a name="VERSION"></a>
|
HREF="smbd.8.html"
|
||||||
<h2>VERSION</h2>
|
TARGET="_top"
|
||||||
|
><B
|
||||||
<p>This man page is correct for version 2.0 of the Samba suite.
|
CLASS="COMMAND"
|
||||||
<p><a name="SEEALSO"></a>
|
> smbd(8)</B
|
||||||
<h2>SEE ALSO</h2>
|
></A
|
||||||
|
> daemon.</P
|
||||||
<p><a href="smb.conf.5.html"><strong>smb.conf (5)</strong></a>, <a href="smbd.8.html"><strong>smbd (8)</strong></a>
|
><P
|
||||||
<p><a name="AUTHOR"></a>
|
>It first changes to the highest effective user and group
|
||||||
<h2>AUTHOR</h2>
|
ID that it can, then runs the command line provided using the
|
||||||
|
system() call. This program is necessary to allow some operating
|
||||||
<p>The original Samba software and related utilities were created by
|
systems to run external programs as non-root.</P
|
||||||
Andrew Tridgell <a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>. Samba is now developed
|
></DIV
|
||||||
by the Samba Team as an Open Source project similar to the way the
|
><DIV
|
||||||
Linux kernel is developed.
|
CLASS="REFSECT1"
|
||||||
<p>The original Samba man pages were written by Karl Auer. The man page
|
><A
|
||||||
sources were converted to YODL format (another excellent piece of Open
|
NAME="AEN21"
|
||||||
Source software, available at
|
></A
|
||||||
<a href="ftp://ftp.icce.rug.nl/pub/unix/"><strong>ftp://ftp.icce.rug.nl/pub/unix/</strong></a>)
|
><H2
|
||||||
and updated for the Samba2.0 release by Jeremy Allison.
|
>OPTIONS</H2
|
||||||
<a href="mailto:samba@samba.org"><em>samba@samba.org</em></a>.
|
><P
|
||||||
<p>See <a href="samba.7.html"><strong>samba (7)</strong></a> to find out how to get a full
|
></P
|
||||||
list of contributors and details on how to submit bug reports,
|
><DIV
|
||||||
comments etc.
|
CLASS="VARIABLELIST"
|
||||||
</body>
|
><DL
|
||||||
</html>
|
><DT
|
||||||
|
>shell command</DT
|
||||||
|
><DD
|
||||||
|
><P
|
||||||
|
>The shell command to execute. The
|
||||||
|
command should have a fully-qualified path.</P
|
||||||
|
></DD
|
||||||
|
></DL
|
||||||
|
></DIV
|
||||||
|
></DIV
|
||||||
|
><DIV
|
||||||
|
CLASS="REFSECT1"
|
||||||
|
><A
|
||||||
|
NAME="AEN28"
|
||||||
|
></A
|
||||||
|
><H2
|
||||||
|
>ENVIRONMENT VARIABLES</H2
|
||||||
|
><P
|
||||||
|
>The <TT
|
||||||
|
CLASS="PARAMETER"
|
||||||
|
><I
|
||||||
|
>PATH</I
|
||||||
|
></TT
|
||||||
|
> variable set for the
|
||||||
|
environment in which <B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>smbrun</B
|
||||||
|
> is executed will affect
|
||||||
|
what executables are located and executed if a fully-qualified path
|
||||||
|
is not given in the command.</P
|
||||||
|
></DIV
|
||||||
|
><DIV
|
||||||
|
CLASS="REFSECT1"
|
||||||
|
><A
|
||||||
|
NAME="AEN33"
|
||||||
|
></A
|
||||||
|
><H2
|
||||||
|
>DIAGNOSTICS</H2
|
||||||
|
><P
|
||||||
|
>If <B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>smbrun</B
|
||||||
|
> cannot be located or cannot
|
||||||
|
be executed by <A
|
||||||
|
HREF="smbd.8.html"
|
||||||
|
TARGET="_top"
|
||||||
|
><B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>smbd(8)</B
|
||||||
|
>
|
||||||
|
</A
|
||||||
|
>, then appropriate messages will be found in the <B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
> smbd</B
|
||||||
|
> 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
|
||||||
|
></DIV
|
||||||
|
><DIV
|
||||||
|
CLASS="REFSECT1"
|
||||||
|
><A
|
||||||
|
NAME="AEN40"
|
||||||
|
></A
|
||||||
|
><H2
|
||||||
|
>VERSION</H2
|
||||||
|
><P
|
||||||
|
>This man page is correct for version 2.2 of
|
||||||
|
the Samba suite.</P
|
||||||
|
></DIV
|
||||||
|
><DIV
|
||||||
|
CLASS="REFSECT1"
|
||||||
|
><A
|
||||||
|
NAME="AEN43"
|
||||||
|
></A
|
||||||
|
><H2
|
||||||
|
>SEE ALSO</H2
|
||||||
|
><P
|
||||||
|
><A
|
||||||
|
HREF="nmbd.8.html"
|
||||||
|
TARGET="_top"
|
||||||
|
><B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>nmbd(8)</B
|
||||||
|
></A
|
||||||
|
>,
|
||||||
|
<A
|
||||||
|
HREF="smbclient.1.html"
|
||||||
|
TARGET="_top"
|
||||||
|
><B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>smbclient(1)
|
||||||
|
</B
|
||||||
|
></A
|
||||||
|
>, and <A
|
||||||
|
HREF="nmblookup.1.html"
|
||||||
|
TARGET="_top"
|
||||||
|
> <B
|
||||||
|
CLASS="COMMAND"
|
||||||
|
>nmblookup(1)</B
|
||||||
|
></A
|
||||||
|
>
|
||||||
|
</P
|
||||||
|
></DIV
|
||||||
|
><DIV
|
||||||
|
CLASS="REFSECT1"
|
||||||
|
><A
|
||||||
|
NAME="AEN52"
|
||||||
|
></A
|
||||||
|
><H2
|
||||||
|
>AUTHOR</H2
|
||||||
|
><P
|
||||||
|
>The original Samba software and related utilities
|
||||||
|
were created by Andrew Tridgell. Samba is now developed
|
||||||
|
by the Samba Team as an Open Source project similar
|
||||||
|
to the way the Linux kernel is developed.</P
|
||||||
|
><P
|
||||||
|
>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/"
|
||||||
|
TARGET="_top"
|
||||||
|
> ftp://ftp.icce.rug.nl/pub/unix/</A
|
||||||
|
>) and updated for the Samba 2.0
|
||||||
|
release by Jeremy Allison. The conversion to DocBook for
|
||||||
|
Samba 2.2 was done by Gerald Carter</P
|
||||||
|
></DIV
|
||||||
|
></BODY
|
||||||
|
></HTML
|
||||||
|
>
|
@ -1,69 +1,62 @@
|
|||||||
.TH "smbrun " "1" "23 Oct 1998" "Samba" "SAMBA"
|
.\" This manpage has been automatically generated by docbook2man-spec
|
||||||
.PP
|
.\" from a DocBook document. docbook2man-spec can be found at:
|
||||||
.SH "NAME"
|
.\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/>
|
||||||
smbrun \- interface program between smbd and external programs
|
.\" Please send any bug reports, improvements, comments, patches,
|
||||||
.PP
|
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
||||||
.SH "SYNOPSIS"
|
.TH "SMBRUN" "1" "22 February 2001" "" ""
|
||||||
.PP
|
.SH NAME
|
||||||
\fBsmbrun\fP shell-command
|
smbrun \- interface program between smbd and external programs
|
||||||
.PP
|
.SH SYNOPSIS
|
||||||
.SH "DESCRIPTION"
|
.sp
|
||||||
.PP
|
\fBsmbrun\fR \fB<shell command>\fR
|
||||||
This program is part of the \fBSamba\fP suite\&.
|
.SH "DESCRIPTION"
|
||||||
.PP
|
.PP
|
||||||
\fBsmbrun\fP is a very small \'glue\' program, which runs shell commands
|
This tool is part of the Samba <URL:samba.7.html> suite.
|
||||||
for the \fBsmbd\fP daemon \fBsmbd
|
.PP
|
||||||
(8)\fP\&.
|
\fBsmbrun\fR is a very small 'glue' program,
|
||||||
.PP
|
which runs shell commands for the \fB smbd(8)\fR <URL:smbd.8.html> daemon.
|
||||||
It first changes to the highest effective user and group ID that it
|
.PP
|
||||||
can, then runs the command line provided using the system() call\&. This
|
It first changes to the highest effective user and group
|
||||||
program is necessary to allow some operating systems to run external
|
ID that it can, then runs the command line provided using the
|
||||||
programs as non-root\&.
|
system() call. This program is necessary to allow some operating
|
||||||
.PP
|
systems to run external programs as non-root.
|
||||||
.SH "OPTIONS"
|
.SH "OPTIONS"
|
||||||
.PP
|
.TP
|
||||||
.IP
|
\fBshell command\fR
|
||||||
.IP "\fBshell-command\fP"
|
The shell command to execute. The
|
||||||
The shell command to execute\&. The command
|
command should have a fully-qualified path.
|
||||||
should have a fully-qualified path\&.
|
.SH "ENVIRONMENT VARIABLES"
|
||||||
.IP
|
.PP
|
||||||
.PP
|
The \fIPATH\fR variable set for the
|
||||||
.SH "ENVIRONMENT VARIABLES"
|
environment in which \fBsmbrun\fR is executed will affect
|
||||||
.PP
|
what executables are located and executed if a fully-qualified path
|
||||||
The \fIPATH\fP variable set for the environment in which \fBsmbrun\fP is
|
is not given in the command.
|
||||||
executed will affect what executables are located and executed if a
|
.SH "DIAGNOSTICS"
|
||||||
fully-qualified path is not given in the command\&.
|
.PP
|
||||||
.PP
|
If \fBsmbrun\fR cannot be located or cannot
|
||||||
.SH "DIAGNOSTICS"
|
be executed by \fBsmbd(8)\fR
|
||||||
.PP
|
<URL:smbd.8.html>, then appropriate messages will be found in the \fB smbd\fR logs. Other diagnostics are dependent on the shell-command
|
||||||
If \fBsmbrun\fP cannot be located or cannot be executed by
|
being run. It is advisable for your shell commands to issue suitable
|
||||||
\fBsmbd\fP then appropriate messages will be found in
|
diagnostics to aid trouble-shooting.
|
||||||
the \fBsmbd\fP logs\&. Other diagnostics are dependent
|
.SH "VERSION"
|
||||||
on the shell-command being run\&. It is advisable for your shell
|
.PP
|
||||||
commands to issue suitable diagnostics to aid trouble-shooting\&.
|
This man page is correct for version 2.2 of
|
||||||
.PP
|
the Samba suite.
|
||||||
.SH "VERSION"
|
.SH "SEE ALSO"
|
||||||
.PP
|
.PP
|
||||||
This man page is correct for version 2\&.0 of the Samba suite\&.
|
\fBnmbd(8)\fR <URL:nmbd.8.html>,
|
||||||
.PP
|
\fBsmbclient(1)
|
||||||
.SH "SEE ALSO"
|
\fR <URL:smbclient.1.html>, and \fBnmblookup(1)\fR <URL:nmblookup.1.html>
|
||||||
.PP
|
.SH "AUTHOR"
|
||||||
\fBsmb\&.conf (5)\fP, \fBsmbd (8)\fP
|
.PP
|
||||||
.PP
|
The original Samba software and related utilities
|
||||||
.SH "AUTHOR"
|
were created by Andrew Tridgell. Samba is now developed
|
||||||
.PP
|
by the Samba Team as an Open Source project similar
|
||||||
The original Samba software and related utilities were created by
|
to the way the Linux kernel is developed.
|
||||||
Andrew Tridgell samba@samba\&.org\&. Samba is now developed
|
.PP
|
||||||
by the Samba Team as an Open Source project similar to the way the
|
The original Samba man pages were written by Karl Auer.
|
||||||
Linux kernel is developed\&.
|
The man page sources were converted to YODL format (another
|
||||||
.PP
|
excellent piece of Open Source software, available at
|
||||||
The original Samba man pages were written by Karl Auer\&. The man page
|
ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0
|
||||||
sources were converted to YODL format (another excellent piece of Open
|
release by Jeremy Allison. The conversion to DocBook for
|
||||||
Source software, available at
|
Samba 2.2 was done by Gerald Carter
|
||||||
\fBftp://ftp\&.icce\&.rug\&.nl/pub/unix/\fP)
|
|
||||||
and updated for the Samba2\&.0 release by Jeremy Allison\&.
|
|
||||||
samba@samba\&.org\&.
|
|
||||||
.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\&.
|
|
||||||
|
Reference in New Issue
Block a user