From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 08:59:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4816916A4CE for ; Mon, 22 Mar 2004 08:59:10 -0800 (PST) Received: from bayok.msumain.edu.ph (unknown [203.177.105.166]) by mx1.FreeBSD.org (Postfix) with SMTP id 6943143D31 for ; Mon, 22 Mar 2004 08:59:05 -0800 (PST) (envelope-from rfa@msumain.edu.ph) Received: (qmail 370 invoked from network); 22 Mar 2004 17:20:57 -0000 Received: from unknown (HELO bayok.msumain.edu.ph) (203.177.105.166) by bayok.msumain.edu.ph with SMTP; 22 Mar 2004 17:20:57 -0000 Received: from 203.177.105.170 (proxying for 192.168.16.12) (SquirrelMail authenticated user rfa) by bayok.msumain.edu.ph with HTTP; Tue, 23 Mar 2004 01:20:57 +0800 (PHT) Message-ID: <3088.203.177.105.170.1079976057.squirrel@bayok.msumain.edu.ph> Date: Tue, 23 Mar 2004 01:20:57 +0800 (PHT) From: rfa@msumain.edu.ph To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: Re: ELF binary type "0" not known ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 16:59:10 -0000 >> Actually I posted this on the squirrelmail plugins list but havent had any >> >> Actually I want to know what this code means(i think its the cause of my problems): >> >> >bayok# /usr/local/www/data/webmail/plugins/change_passwd/chpasswd >> testuser >> mypassword 123abc >> >ELF binary type "0" not known. >> >Abort >> >bayok# >> >> >> Also i was wondering what the asterisk at the end of this line means: >> >> -rwsr-x--- 1 root apache 9873 Oct 22 2002 chpasswd* >> >> It says in the INSTALL >> >> 3) Make sure the file permissions on the chpasswd file are >> correct (unless you'll be using the 'pw' utility on >> FreeBSD). Substitue the name of the user that your web >> server runs under for "apache" in the command below: >> >> $ chown root:apache chpasswd >> $ chmod 4750 chpasswd >> >> >> but when i run ls -l it says >> >> -rwsr-x--- 1 root apache 9873 Oct 22 2002 chpasswd >> >> without the asterisk. >> Is that the same or am I missing something? >> > > What do you get with: > % file /usr/local/www/data/webmail/plugins/change_passwd/chpasswd does it say something about Linux? If 'yes', then try: > % kldload linux > % sysctl kern.fallback_elf_brand=3 sorry, before i read your message i compiled the chpass.c file and overwrote the original. maybe you were right. i did a #file chpasswd and it went: chpasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.8, dynamically linked (uses shared libs), not stripped The error is gone although now i have another problem. Now it says: Current password don't match with the password of the server. back to looking for a solution again.. thanx for replying! rommel