Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 22:29:26 -0500 (CDT)
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        User Al Johnson <Al.Johnson@AJC.State.Net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2 unrelated questions
Message-ID:  <Pine.BSF.3.96.971006222152.25521B-100000@shell.futuresouth.com>
In-Reply-To: <343972C3.B9363EB8@AJC.State.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
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     |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




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