Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 12:41:10 +0300 (IDT)
From:      <noor@comrax.com>
To:        Marc Silver <marcs@draenor.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /var/run/utmp
Message-ID:  <Pine.BSF.4.10.10004251240480.77062-100000@dns.comrax.com>
In-Reply-To: <20000425113021.H36881@draenor.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004251240480.77062-100000>