From owner-freebsd-questions Mon Mar 4 3:11:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ceca.es (mail.ceca.es [80.68.128.18]) by hub.freebsd.org (Postfix) with ESMTP id A634A37B405 for ; Mon, 4 Mar 2002 03:11:12 -0800 (PST) Received: from mulhacen.caja-granada.es ([192.168.25.2]) by mail.ceca.es (8.8.8+Sun/8.8.8) with ESMTP id MAA00646 for ; Mon, 4 Mar 2002 12:11:11 +0100 (MET) Received: from CORREOEX.caja-granada.es (sccpd00 [130.130.7.3]) by mulhacen.caja-granada.es (8.11.6/8.11.6) with ESMTP id g24B9J224327 for ; Mon, 4 Mar 2002 12:09:20 +0100 (CET) X-RAV-AntiVirus: Este correo ha sido escaneado buscando virus en el host: mulhacen.caja-granada.es Received: from CORREOEX.caja-granada.es (sccpd00 [130.130.7.3]) by mulhacen.caja-granada.es (8.11.6/8.11.6) with ESMTP id g24B9J224327 for ; Mon, 4 Mar 2002 12:09:20 +0100 (CET) (envelope-from JMegias@caja-granada.es) Received: by correoex.caja-granada.es with Internet Mail Service (5.5.2653.19) id ; Mon, 4 Mar 2002 12:12:41 +0100 Message-ID: <1A4723CDE42AD611B61200A0C9AA5F3729BB85@correoex.caja-granada.es> From: "Megias Sanchez, Jose Manuel" To: questions@freebsd.org Subject: RE: Help with finger permission denied Date: Mon, 4 Mar 2002 12:12:35 +0100 X-Mailer: Internet Mail Service (5.5.2653.19) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, the command finger fails with all entries in /etc/passwd. Here is the information: 1.- Command: finger jose 2.- Output of the command: finger: Permission denied 3.- Permissions on the finger binary: -r-xr-xr-x 1 root wheel - 18832 Feb 20 07:51 /usr/bin/finger 4.- Permissions on the jose directory: drwxr-xr-x 2 jose jose 512 Oct 29 13:30 /home/jose 5.- Execution of the command: The command is executed by root user. 6.- FreeBSD version: 4.5 stable 7.- In another PC running the same FreeBSD version the command is running ok: tijeras# finger jose Login: jmg Name: Jose Martinez Garcia Directory: /home/jmg Shell: /bin/sh Last login Mon Jan 14 13:08 (CET) on ttyp2 from jmg Mail last read Fri Mar 1 11:42 2002 (CET) No Plan. Login: jose Name: Jose Manuel Megias Sanchez Directory: /home/jose Shell: /bin/sh Never logged in. No Mail. No Plan. I'm hoping your news, greetings. be useful. > mulhacen# finger daemon > finger: Permission denied > > and the daemon entry exists in /etc/passwd. In another system > running the same FreeBSD version the command is running ok but no in this > one. Where is the problem? Ok, where's the output of "which finger"? What are the permissions on the finger binary, and on the ~daemon directory? http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message