smrsh.8 (71348) | smrsh.8 (90795) |
---|---|
1.\" Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. | 1.\" Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. |
2.\" All rights reserved. 3.\" Copyright (c) 1993 Eric P. Allman. All rights reserved. 4.\" Copyright (c) 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" By using this file, you agree to the terms and conditions set 8.\" forth in the LICENSE file which can be found at the top level of 9.\" the sendmail distribution. 10.\" 11.\" | 2.\" All rights reserved. 3.\" Copyright (c) 1993 Eric P. Allman. All rights reserved. 4.\" Copyright (c) 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" By using this file, you agree to the terms and conditions set 8.\" forth in the LICENSE file which can be found at the top level of 9.\" the sendmail distribution. 10.\" 11.\" |
12.\" $Id: smrsh.8,v 8.11.16.2 2000/12/15 19:50:46 gshapiro Exp $ | 12.\" $Id: smrsh.8,v 8.15 2001/01/24 00:40:47 gshapiro Exp $ |
13.\" | 13.\" |
14.\" $FreeBSD: head/contrib/sendmail/smrsh/smrsh.8 71348 2001-01-21 22:21:43Z gshapiro $ | 14.\" $FreeBSD: head/contrib/sendmail/smrsh/smrsh.8 90795 2002-02-17 21:58:34Z gshapiro $ |
15.\" | 15.\" |
16.TH SMRSH 8 "$Date: 2000/12/15 19:50:46 $" | 16.TH SMRSH 8 "$Date: 2001/01/24 00:40:47 $" |
17.SH NAME 18smrsh \- restricted shell for sendmail 19.SH SYNOPSIS 20.B smrsh 21.B \-c 22command 23.SH DESCRIPTION 24The --- 47 unchanged lines hidden (view full) --- 72in the 73sm.bin 74directory. 75Note that this does not restrict the use of shell or perl scripts 76in the sm.bin directory (using the ``#!'' syntax); 77it simply disallows execution of arbitrary programs. 78.SH COMPILATION 79Compilation should be trivial on most systems. | 17.SH NAME 18smrsh \- restricted shell for sendmail 19.SH SYNOPSIS 20.B smrsh 21.B \-c 22command 23.SH DESCRIPTION 24The --- 47 unchanged lines hidden (view full) --- 72in the 73sm.bin 74directory. 75Note that this does not restrict the use of shell or perl scripts 76in the sm.bin directory (using the ``#!'' syntax); 77it simply disallows execution of arbitrary programs. 78.SH COMPILATION 79Compilation should be trivial on most systems. |
80You may need to use \-DPATH=\e"\fIpath\fP\e" | 80You may need to use \-DSMRSH_PATH=\e"\fIpath\fP\e" |
81to adjust the default search path 82(defaults to ``/bin:/usr/bin'') | 81to adjust the default search path 82(defaults to ``/bin:/usr/bin'') |
83and/or \-DCMDBIN=\e"\fIdir\fP\e" | 83and/or \-DSMRSH_CMDBIN=\e"\fIdir\fP\e" |
84to change the default program directory 85(defaults to ``/usr/libexec/sm.bin''). 86.SH FILES 87/usr/libexec/sm.bin \- directory for restricted programs 88.SH SEE ALSO 89sendmail(8) | 84to change the default program directory 85(defaults to ``/usr/libexec/sm.bin''). 86.SH FILES 87/usr/libexec/sm.bin \- directory for restricted programs 88.SH SEE ALSO 89sendmail(8) |