Re: smrsh

2002-10-03 Thread Douglas J Hunley

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

m.w.chang spewed electrons into the ether that resembled:
> I used google.com and didn't get anything. I try again. is
> /usr/adm/sm.bin the only needed directory?

sometimes /var/adm/sm.bin and recently /etc/smrsh
- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

#if 0
2.2.16 /usr/src/linux/fs/buffer.c
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9nQZASrrWWknCnMIRAv9SAJ9s7p/YjpR4YocRaEkzXyW1iwFi0gCfSQTQ
XQ4c41B4b/5lXTwoFfauJ1o=
=cAcf
-END PGP SIGNATURE-


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: smrsh

2002-10-03 Thread kwall

On Fri, Oct 04, 2002 at 05:46:11AM +0800, m.w.chang wrote:
> I used google.com and didn't get anything. I try again. is 
> /usr/adm/sm.bin the only needed directory?

>From the Sendmail FAQ:

"Q3.34 -- What does "foo not available for sendmail programs" mean?
Date: September 24, 1999

It means that you are using smrsh, the sendmail restricted shell; 
see Q2.13 for details on this. To fix this problem, you need to create 
a sym-link from smrsh's directory for restricted programs to the program 
foo. The default location of this directory for restricted programs is 
/usr/adm/sm.bin in the Open Source version, but vendor versions differ. 
For example, RedHat Linux 6.0 uses /etc/smrsh, and Solaris 8 uses 
/var/adm/sm.bin . If you don't know the directory for your OS, first 
check the smrsh man page, then if that fails, try:

% strings /path/to/smrsh | grep ^/

where /path/to/smrsh is the P= argument on the Mprog line in sendmail.cf .

So for example:

% cd /usr/adm/sm.bin
% ln -s /usr/bin/vacation

would allow the vacation program to be run from a user's .forward file 
or an alias which uses the "|program" syntax.

Finally, if you want to disable use of smrsh, remove the 
FEATURE(`smrsh') line from the .mc file used to build sendmail.cf; 
see cf/README for details on this."

Kurt
-- 
"To vacillate or not to vacillate, that is the question ... or is it?"
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: smrsh

2002-10-03 Thread m.w.chang

I used google.com and didn't get anything. I try again. is 
/usr/adm/sm.bin the only needed directory?

-- 
   .~.Swiftly. Silently. Invisibly. In Linux we trust.
  / v \   news://news.hkpcug.org
/( _ )\  http://www.linux-sxs.org
   ^ ^2.4.19 4:45am up 13 days, 9:14, 0 users, load average: 0.00, 
0.00, 0.00

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: smrsh

2002-10-03 Thread Douglas J Hunley

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

m.w.chang spewed electrons into the ether that resembled:
> the error is obviously a permission issue. I will summarize my problem
> in brief detail later (listing the owner/permission of related folders).
> right now, I want all features working. :)
>
> where can I find a doc about smrsh regarding the folder permission and
> ownership?

sendmail.org?
- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

 "Too few women on the internet?
 There are lots of women on the internet,
 only most of them are naked and in JPG-format."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9nFSdSrrWWknCnMIRAknsAJ4wwMo+cL1njCFyZvNJ80ng2SQa7gCfdEse
H6dEk5Dr889E2OcA/2rkaCI=
=K/qq
-END PGP SIGNATURE-


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: smrsh

2002-10-02 Thread m.w.chang

the error is obviously a permission issue. I will summarize my problem 
in brief detail later (listing the owner/permission of related folders).
right now, I want all features working. :)

where can I find a doc about smrsh regarding the folder permission and 
ownership?

> I *still* don't understand why smrsh didn't work for you. *Everyone* I've 
> asked (from guru, to newbie) that I know has used those instructions didn't 
> have issues.

-- 
  Swiftly. Silently. Invisibly.  .~.   In Linux we trust.
/ v \
  news://news.hkpcug.org   /( _ )\  http://www.linux-sxs.org
 ^ ^

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users