Problem with gdm, local and remote logins, and pam_group

2002-05-17 Thread Mike Renfro
(I posted this to debian-security earlier today, but debian-user might
be a better place for it. Please CC: me on replies.)

Haven't found a solution in any searches I've done thus far, so here's
my problem:

Given:

- 1 workstation running gdm 2.2.5.5-2 (and pam 0.72-35), offering
  XDMCP access to selected other X Terminals, and also allowing gdm
  logins on the local console.

- 1 remote X Terminal (soon to be several) which connects to the above
  workstation via XDMCP.

The problem is that I'd like for users logging in locally via gdm to
be added to the various audio, floppy, etc. groups so that they have
access to the normal sound and removable media devices on the
workstation. However, I'd like for users logging in remotely via gdm
(the X Terminal users) to *not* get any special access to the
hardware.

Here's my line from /etc/security/group.conf:

  gdm; :*; *; Al-2400; audio,floppy,video,cdrom

I have verified that a remote login gets tty set to 'remoteterm:0',
for example, and a local login gets tty set to ':0'. I'd have thought
that the ':*' would match ':0', but not 'remoteterm:0', but it
apparently matches both according to the pam debug log.

If at all possible, I'd really rather not install xdm for remote
logins, and gdm for local.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]


-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Ensoniq/SB PCI 128 woody

2002-02-20 Thread Mike Renfro
On Tue, Feb 19, 2002 at 04:46:42PM +0100, Cristian Degli Esposti Boschi wrote:

 I cannot open the university's PC case but in several pages I
 figured out that it is based on the chip Ensoniq 1371.

Somone on debian-user may have already said this (I'm not subscribed
there), but I think the SB128 uses the es1370 module, not es1371. Try
it, at least.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]



Re: Emacs X

2002-01-06 Thread Mike Renfro
On Sat, Jan 05, 2002 at 09:26:02AM -0500, Tom Allison wrote:

 Is there any version of emacs that isn't dependent upon having
 XFree86 installed?

If you rebuild it yourself, I'm sure any version of emacs is X-optional.

 I love emacs.  I can't install XFree86 (or rather, don't need to
 waste the space).  I know that the real emacs is not XFree86
 dependent.  I know that xemacs is.

[EMAIL PROTECTED](1):~$ apt-cache show emacs19 | grep Installed-Size:
Installed-Size: 15795
[EMAIL PROTECTED](1):~$ apt-cache show emacs20 | grep Installed-Size:
Installed-Size: 26546
[EMAIL PROTECTED](1):~$ apt-cache show xlib6g | grep Installed-Size:
Installed-Size: 4024

The extra 4MB on top of the 16-27MB you just burnt to install emacs
isn't terribly substantial. But you can always download the debianized
sources to emacs, tweak the build options in debian/rules, and rebuild
it without X.

Trim followups to debian-user, since this is not testing related.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]