Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 11:30:21 +0200
From:      Marc Silver <marcs@draenor.org>
To:        noor@comrax.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /var/run/utmp
Message-ID:  <20000425113021.H36881@draenor.org>
In-Reply-To: <Pine.BSF.4.10.10004251223490.77062-100000@dns.comrax.com>; from noor@comrax.com on Tue, Apr 25, 2000 at 12:26:04PM %2B0300
References:  <Pine.BSF.4.10.10004251223490.77062-100000@dns.comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20000425113021.H36881>