From owner-freebsd-questions Mon Oct 6 20:29:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA21413 for questions-outgoing; Mon, 6 Oct 1997 20:29:40 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA21408 for ; Mon, 6 Oct 1997 20:29:38 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.5/8.8.5) with SMTP id WAA26530; Mon, 6 Oct 1997 22:29:26 -0500 (CDT) Date: Mon, 6 Oct 1997 22:29:26 -0500 (CDT) From: "Matthew D. Fuller" To: User Al Johnson cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2 unrelated questions In-Reply-To: <343972C3.B9363EB8@AJC.State.Net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 6 Oct 1997, User Al Johnson wrote: > I've got a couple of very unrelated questions. > How do I setup XConsole so that who ever is logged > on at the console can do an Xconsole? I did this on > one machine by allowing anyone read access to /dev/console. This is easy; run xdm. Let me dig thru my files here..... {/usr/X11R6/lib/X11/xdm} root@mortis: %cat GiveConsole chown $USER /dev/console {/usr/X11R6/lib/X11/xdm} root@mortis: %cat TakeConsole chmod 622 /dev/console chown root /dev/console (Both trimmed to remove comments) and this: {/usr/X11R6/lib/X11/xdm} root@mortis: %cat xdm-config (snip) ! The following three resources set up display :0 as the console. DisplayManager._0.setup: /usr/X11R6/lib/X11/xdm/Xsetup_0 DisplayManager._0.startup: /usr/X11R6/lib/X11/xdm/GiveConsole DisplayManager._0.reset: /usr/X11R6/lib/X11/xdm/TakeConsole ! This chowns the console to a certain user when they login through xdm, and chown's it back to root afterward. Another thought (maybe less secure) is what I usually do; install sudo, write a script to startup the xconsole with a given size, verbose, etc, and give everyone permission to sudo xconscript. > > Secondly, is there an app out there that will sit on a serial > line and pull caller id off the wire and log it? I've got a > couple applicaitons for this. 1) I get so many calls at home > that my 25 number caller-id box fills up. 2) I work for an ISP > and would like better call tracking. I'm sure there is one, but I don't know about this. > > TIA, > > -- Al > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * FreeBSD: turning PCs into workstations * | Windows: turning workstations into typewriters | * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*