Subject: Re: PAM and Xserver: password prompt is hidden
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 03/03/2005 17:38:20
Sverre Froyen --> current-users (2005-03-03 08:46:07 -0700):
> Hi,
> 
> I usually redirect the X server output to a file (startx > xlog 2>&1) 
> and I notice the password prompt is sent to the file instead of to the 
> terminal (/dev/tty).  Not a big deal, but it probably should be fixed.

Using the latest pam.d/xserver there should be no password prompt at all:

$ ident /etc/pam.d/xserver                                                     
/etc/pam.d/xserver:
     $NetBSD: xserver,v 1.2 2005/03/03 04:21:51 christos Exp $
$ grep ^auth /etc/pam.d/xserver
auth            sufficient      pam_self.so


Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~