From owner-freebsd-questions Tue Apr 25 2:29:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.204.219]) by hub.freebsd.org (Postfix) with ESMTP id 4212637BC49 for ; Tue, 25 Apr 2000 02:29:27 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.12 #1) id 12k1fh-000Jc2-00; Tue, 25 Apr 2000 11:30:21 +0200 Date: Tue, 25 Apr 2000 11:30:21 +0200 From: Marc Silver To: noor@comrax.com Cc: FreeBSD Questions Subject: Re: /var/run/utmp Message-ID: <20000425113021.H36881@draenor.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from noor@comrax.com on Tue, Apr 25, 2000 at 12:26:04PM +0300 X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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