HylaFAX The world's most advanced open source fax server

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

[Fwd: help! can't faxalter or faxrm! permission denied!]



The answer to my question for any others that follow.

> In the basic setup root cannot faxrm jobs from the queue. Where do you
> set the admin password? I can't find it specified anywhere?

FAQ No 105 has the details.

Note: Put this user before any host specifications.

Quote below.

     If you really want to create a password for this entry then your
best
     choice right now is to do the following:

     1. Create a user with administrative privileges by setting up a
hosts
        entry with a null administrator password.  Consult hosts(4F) for
info.
     2. Use telnet to talk to hfaxd and use the SITE ADDUSER command to
create
        the user account with the password; e.g.

     hyla% telnet oxford hylafax
     Trying 155.11.194.2...
     Connected to oxford.chez.sgi.com.
     Escape character is '^]'.
     220 oxford.chez.sgi.com server (HylaFAX (tm) Version 4.0beta018)
ready.
     user sam
     230 User sam logged in.
     admin
     230 Administrative privileges established.
     site help adduser
     214 Syntax: SITE ADDUSER user-spec [passwd [adminwd]]
     site adduser ^okamoto@granite.cias.osakafu-u.ac.jp$ foobar
     500 User password is all lower-case; use something more.
     site adduser ^okamoto@granite.cias.osakafu-u.ac.jp$ FooBar
     200 User ^okamoto@granite.cias.osakafu-u.ac.jp$ added with uid 0.
     quit
     221 Goodbye.
     Connection closed by foreign host.

Cheers and thanks,

-- 
Andrew Croke         Fax: +61 (0)3 9347 5887
P.O Box  451         Mob: +61 (0)411 511 160
North Melbourne 3051
a.croke@ugrad.unimelb.edu.au  (academic)
andrew.croke@awamarine.com.au (commercial)


> JID  Pri S  Owner Number       Pages Dials     TTS Status
> 30   118 S    bin 96828560      0:1   9:12   08:59 No local dialtone
                ^^^ 
This is still wrong, I think.

Please raise a bug report on your operating system supplier; there is
a known problem with Linux and sendmail in that early versions, at least,
of sendmail default to a particular user number as their safe user.  On
nearly all real Unix systems, this number corresponds to daemon, but on
Slackware, and probably other Linux systems, it corresponds to bin.  This
is dangerous and it is important that the correct value is explicitly set
in the configuration files.

> In the basic setup root cannot faxrm jobs from the queue. Where do you
> set the admin password? I can't find it specified anywhere?

-a option on faxrm and in the /var/spool/fax/etc/hosts file, or at least
that is what the man pages say.






Project hosted by iFAX Solutions