[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??
- Subject: RE: [cobalt-users] tail -f /var/log/maillog & allowing non-admin users to see in real time??
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu Dec 26 10:02:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> 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.