From owner-freebsd-questions Tue Apr 23 05:54:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA29627 for questions-outgoing; Tue, 23 Apr 1996 05:54:34 -0700 (PDT) Received: from plum.blueberry.co.uk ([194.70.52.50]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA29604 for ; Tue, 23 Apr 1996 05:53:51 -0700 (PDT) Received: (from nik@localhost) by plum.blueberry.co.uk (8.7.5/8.6.12) id NAA10422; Tue, 23 Apr 1996 13:50:23 +0100 (BST) From: Nik Clayton Message-Id: <199604231250.NAA10422@plum.blueberry.co.uk> Subject: Re: /dev/console To: robin@is.co.za Date: Tue, 23 Apr 1996 13:50:23 +0100 (BST) Cc: questions@freebsd.org In-Reply-To: <199604231236.OAA22636@admin.is.co.za> from "Robin Lunn" at Apr 23, 96 02:36:46 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Nik Clayton wrote: > > Does anyone have the correct permissions for /dev/console handy. Programs > > like xconsole (or xterm -C) have never worked for me. > > > > At the moment, /dev/console is > > > > crw------- 1 root wheel 0, 0 Apr 23 11:09 /dev/console > > > > which is obviously wrong. All I really want is for console messages to > > come up in one of my xterms when in X (which I start with 'startx', not > > xdm). > > These permissions are fine. In order to get xconsole working add yourself to > the "operator" group by editing /etc/group. As an "operator" you can access > the stiffy drive, shut the machine down and run xconsole without having to su > or be root. Just tried that, and it doesn't work. However, interestingly enough, % ls -l `which xconsole` -rwxr-xr-x 1 root 10 16384 Nov 3 00:24 /usr/X11R6/bin/xconsole* Shows that xconsole is in a group with no name. On my system, 'operator' is group #5, and I certainly haven't changed that since installation. Besides, surely xconsole would need to be setuid for this to work. I thought the whole point was that ordinary users should be able to take the console. As documented in LINT. . . Cheers though, N -- --+=[ Blueberry Hill Blueberry Design ]=+-- --+=[ http://www.blueberry.co.uk/ 1/9 Chelsea Harbour Design Centre, ]=+-- --+=[ WebMaster@blueberry.co.uk London, England, SW10 0XE ]=+-- --+=[ Don't anthropomorphize computers. They don't like it. ]ENTP