Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 14:26:00 +0100 
From:      "Megias Sanchez, Jose Manuel" <JMegias@caja-granada.es>
To:        questions@freebsd.org
Subject:   RE: Help with finger permission denied
Message-ID:  <1A4723CDE42AD611B61200A0C9AA5F3729BB8C@correoex.caja-granada.es>

next in thread | raw e-mail | index | archive | help
	Hello, when I'm trying to use the ktrace command I see the following
error:

ktrace: ktrace.out: Function not implemented

	How could I implemented it?, thanks in advance.


-----Mensaje original-----
De: Edwin Groothuis [mailto:edwin@mavetju.org]
Enviado el: lunes, 04 de marzo de 2002 12:25
Para: Megias Sanchez, Jose Manuel
CC: questions@freebsd.org
Asunto: Re: Help with finger permission denied


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A4723CDE42AD611B61200A0C9AA5F3729BB8C>