Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 18:42:31 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: su problem
Message-ID:  <4475EC87.5070602@freebsd.org>
In-Reply-To: <20060525163320.GT13228@saturn.pcs.ms>
References:  <20060525163320.GT13228@saturn.pcs.ms>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Schweizer wrote:
> Hello
> 
> If I su from user martin to root or from user martin to martin (for testing) I 
> get this errors in /var/log/messages:
> 
> [snip]
> May  9 11:33:08 merkur init: can't get /dev/console for controlling terminal: Operation not permitted
> May  9 11:33:38 merkur init: can't get /dev/console for controlling terminal: Operation not permitted
> [snip]
> 
> I crosschecked also the permissions on /dev/console. They are correct. Any 
> hints are welcome.
> 

IIRC you need this line in /etc/fbtab (or uncomment it if it's there but 
commented out) - that's what I've got and I'm sure that's why it's 
there; I don't get those errors.

/dev/ttyv0      0600    /dev/console

HTH

Mark





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