From owner-freebsd-questions Mon Mar 4 3:25:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 98FB937B400 for ; Mon, 4 Mar 2002 03:25:36 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 17BD72B696; Mon, 4 Mar 2002 12:25:09 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 25753277; Mon, 4 Mar 2002 22:24:42 +1100 (EST) Date: Mon, 4 Mar 2002 22:24:42 +1100 From: Edwin Groothuis To: "Megias Sanchez, Jose Manuel" Cc: questions@freebsd.org Subject: Re: Help with finger permission denied Message-ID: <20020304222442.I576@k7.mavetju.org> References: <1A4723CDE42AD611B61200A0C9AA5F3729BB85@correoex.caja-granada.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1A4723CDE42AD611B61200A0C9AA5F3729BB85@correoex.caja-granada.es>; from JMegias@caja-granada.es on Mon, Mar 04, 2002 at 12:12:35PM +0100 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 On Mon, Mar 04, 2002 at 12:12:35PM +0100, Megias Sanchez, Jose Manuel wrote: > 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. If you ktrace finger, you'll see it opens a couple of files: /etc/group /etc/finger.conf /etc/pwd.db etc Please run "ktrace finger jose" and then "kdump". I wouldn't mind examining the output of it. Please do this off the list as it might be big. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message