From owner-freebsd-questions Tue Apr 25 2:41:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id 33A5C37B64D for ; Tue, 25 Apr 2000 02:41:17 -0700 (PDT) (envelope-from noor@comrax.com) Received: by dns.comrax.com (Postfix, from userid 100) id 9DBBF1C99B; Tue, 25 Apr 2000 12:41:10 +0300 (IDT) Received: from localhost (localhost [127.0.0.1]) by dns.comrax.com (Postfix) with ESMTP id 8D36816E32; Tue, 25 Apr 2000 12:41:10 +0300 (IDT) Date: Tue, 25 Apr 2000 12:41:10 +0300 (IDT) From: To: Marc Silver Cc: FreeBSD Questions Subject: Re: /var/run/utmp In-Reply-To: <20000425113021.H36881@draenor.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I thought of that, but then, anyone can download finger.c and who.c and compile them. Noor On Tue, 25 Apr 2000, Marc Silver wrote: > Hey there, > > I would suggest changing the permissions of /var/run/utmp back to what > they were and then changing the permissions of finger and who to suit > your needs. :) > > Cheers, > Marc > > On Tue, Apr 25, 2000 at 12:26:04PM +0300, noor@comrax.com wrote: > > > > Hi all, > > > > I am trying to deny normal users the ability to issue 'finger' and 'who' > > commands from their shell. So I changed modes of /var/run/utmp to 640. > > > > But now, when a normal user connects, the shell shows: > > > > > > > > /var/run/utmp cannot be opened. Please "unset watch". > > > > > > > > I want this message to be cleared, not shown, while maintaining mode 640 > > of /var/run/utmp... how is this possible? > > > > Thanks, > > > > Noor > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message