Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1997

Summary: /usr/sbin/smrsh - Compiled with wrong path
Product: [Retired] Red Hat Raw Hide Reporter: Chris Yeo <cyeo>
Component: sendmailAssignee: Cristian Gafton <gafton>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-05 15:29:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chris Yeo 1999-04-05 06:33:54 UTC
I am using Sendmail 8.9.3-6 with 'smrsh' enabled instead of
/bin/sh (as per default).  The problem is that smrsh is
looking in the wrong path for the 'authorized' programs.
This is showing the the following excerpt of an strace:

personality(PER_LINUX)                  = 0
getpid()                                = 1212
access("/usr/adm/sm.bin/list", X_OK)    = -1 ENOENT (No
such file or directory)
write(2, "smrsh: list not available for se"..., 48smrsh:
list not available for
sendmail programs

According the the sendmail-doc package, it should be check
this in /etc/smrsh not /usr/adm/sm.bin


Comment 1 Cristian Gafton 1999-04-05 15:29:59 UTC
fixed in 8.9.3-8