Faxrunq(d) not by root

Volker Englisch (eh@rabbit.allgaeu.org)
20 Jan 2000 1907:52:47 GMT


Hello, it's me again...

For security reasons, I tried to run faxrunq from a special user's
crontab, not from the root's crontab. To manage that, I created a new
user "fax" (uid 42) with standard group "fax" and additional group
"dialout".

Then I chowned /var/spool/fax and it's subdirs to fax.fax. When some
user faxspools a new fax, it is located in e.g.
/var/spool/fax/outgoing/F..../f1.g3. That file is owned by
user.usergroup (as before). When running faxrunq as user fax, it
complaines about "job already locked". I guess the problem is the
ownership of the outgoing files, for user "fax" doesn't have any
permission on those files.

Then I tried to su group the /var/spool/fax/outgoing dir, so new
arriving fax documents are now owned by ($user).fax. But still user
"fax" does only have r/x permission on that files, for the group
permissions are r-x. And still faxrunq complaines.

I guess there must be a much less complicated way to run faxrunq (or
faxrunqd) as a non-root user. Can someone please tell me how?

Thanks in advance

Volker