Here's another question, for a tool I need in teaching beginning Unix
using Redhat 6.1 Linux. I have the users mail me history files, comments,
questions, etc. But, since they are just learning unix basics, they keep
asking me if the mail worked, if it got to me successfully. So I wrote
a simple script to search my mailfiles (both /var/spool/mail and my
local box, that Pine creates), grep out the Subject and From lines, combine
them, and grep for the calling users account name. It all works pretty well,
except for the fact that I cannot suid (or sgid) a script, so the users
cannot search my mail files! Is there any way around this? Anybody have
a method that will allow someone on the same machine to check if mail was
delivered?
In looking at the archives, there is mention of a "sudo" program that
might do what I want, but I don't seem to have it on my system. Where
does it come from?
I suppose in the worst case, I should be able to write a "C" wrapper
program, which (I hope) could be suid'd; is there one already available?
Thanks,
-- Stan Isaacs
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.