HylaFAX The world's most advanced open source fax server

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

Re: admin privilege denied



Lucien Caumartin wrote:
> 
>                         HELLO
> 
>         Since two weeks I try to telneting to my hylafax server (HylaFAX (tm)
> Version 4.1beta1under a linux MANDRAKE 6.0 i686
>  my hosts file :---->
> localhost
> 127.0.0.1
> fax:1000::xyoxiBrqcbujE
> 192.168.10.111
> 192.168.10.13
> 192.168.10.30
> 
> I trying the folowing commands
> 
> user fax  (reply : User fax logged in.)
> 
> admin test (where test is my password) BUT  he reply (530 Password incorrect)
> 
> That inheardoff because i make my encrypted  password with a DES C program
> ------------------------------------------------------
> #include<stdio.h>
> #include <unistd.h>
> 
> void main(int argc,char *argv[])
> 
> if (argc!=3)
>  {
>  printf("\nUsage: %s word salt\n\n - where word is your password choice\n   and salt is 2 characters from A-Z a-z 0-9\n\n", argv[0]);
>  exit(0);
>  }
> 
> printf("\n%s\n\n",crypt(argv[1],argv[2]));
> }
> -----------------------------------------------------
> can you explain me how make a very valid encrypt password who work fine with
> hylafax for taking admin privilege  --
> 
> I hope i have a reponse for this problem
> 
> lucien@aurora-linux.com
> caumarti@club-internet.fr
> lcaumartin@mediareseaux.com
I just took the entry from the /etc/shadow 
and put it into the /var/spool/fax/etc/hosts file

e.g.:

localhost:0::AsdG4RttD55

Hope it helps
-- 
HAGOS eG                 phone: +49 711 7880592
Matthias Reich             fax: +49 711 7880599
Industriestr. 62           web: http://www.hagos.de
D-70565 Stuttgart         mail: rei@hagos.de
Germany




Project hosted by iFAX Solutions