[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] tail -f /var/log/maillog & allowing non-admin users to see in real time??



> I'm wondering if it might be possible to some how allow only 
> certain users on a RAQ4 the ability to view the results of 
> "tail -f /var/log/maillog" in real time so as to dispel any 
> concerns or questions of email sending and receiving 
> properly.  I only want to allow limited access "View Only" & 
> "Only for Certain Users".
> 
> Is there a easy way of accomplishing this?
> 
> Alternately if it would be easier to provide some kind of web 
> page with prompting for a username and password that could 
> provide this information that would be workable for my 
> intended use also.
> 

I don't know the details, but I would guess you could have a /bin/sh
script that would do that easily enough and running it from a form
.htaccess protected. I would suggest it run tail -n 200 /var/log/maillog
so you get a bit more output.
-- 
C2002 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.