HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] faxstat - hide other user's jobs



Hello,

thank you for idea.
My fault i forgot to mention, i need to do the filter on server side.
Grep can be used on client's side, but user can use different clients with theiir own mean for obtaining fax status - WHFC for instance.
It is impossible to use "grep" in this case.
Therefore, i need to do the filter on server side - perhaps some config option for hfaxd.
Does anyone know about such option/mean.

Many thanks

Tomas



------------ Původní zpráva ------------
Od: Siri Vias Khalsa <sirivias.khalsa@xxxxxxxxxx>
Předmět: Re: [hylafax-users] faxstat - hide other user's jobs
Datum: 16.7.2008 19:00:45
----------------------------------------
One easy way would be to grep for the users faxes:

faxstat -s -h vmntv02 | grep user5

 
-Siri Vias

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx]
On Behalf Of Tomas Novosad
Sent: Wednesday, July 16, 2008 3:11 AM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] faxstat - hide other user's jobs

Hello everyone,

i'm using "faxstat -s" command to provide hylafax users with info about their
outgoing faxes.
Faxstat -s shows all current outgoing jobs - ie. jobs from all users.

I'd like to show only jobs which belong to user issuing faxstat command.

typically when i do
----------------
[root@vmtnv01 ~]# FAXUSER='user5' faxstat -s -h vmtnv02
Password:
HylaFAX scheduler on vmtnv02: Running
Modem ttyIAX01 (978): Running and idle

JID  Pri S  Owner Number       Pages Dials     TTS Status
4    127 P  user6 979           0:0   0:12   21:00
5    127 P  user6 979           0:0   0:12   22:00
----------------

alhough "user5" invoked the faxstat command in output, there are listed jobs of
user6.

Can this be banned on hylafax server, so that any user is able to see only his
own jobs in faxstat output?

Many thanks for help.

Best regards
Tomas




Tomáš Novosad


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*





Tomáš Novosad
mailto:kbbl@xxxxxxxx
jabber:kbbl@xxxxxxxxx
+420737309887
# rm -rf /*


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions