From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6221 invoked from network); 1 Nov 1998 21:03:54 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 1 Nov 1998 21:03:54 -0000 Received: from gateway.sask.trlabs.ca (xxxxxxxx@gateway.sask.trlabs.ca [192.139.19.101]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA01753 for ; Sun, 1 Nov 1998 15:51:36 -0500 Received: from salph1.sask.trlabs.ca ([192.168.129.106] EHLO salph1.sask.trlabs.ca ident: IDENT-NOT-QUERIED [port 42248]) by gateway.sask.trlabs.ca with ESMTP id <27673-9386>; Sun, 1 Nov 1998 14:53:45 -0600 Received: from [192.168.129.111] ([192.168.129.111] HELO funnel.sask.trlabs.ca ident: IDENT-NOT-QUERIED [port 9735]) by mailhost.sask.trlabs.ca with SMTP id <11405-21579>; Sun, 1 Nov 1998 14:51:39 -0600 Date: Sun, 1 Nov 1998 14:47:50 -0600 (CST) From: Reid van Melle To: axp-list@redhat.com Subject: rexec solution found Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I consulted with some PAM people and the solution seems to be: > I've made a brief look on pam_securetty module and found > that it returns PAM_SERVICE_ERR if it fails to determine the controlling > terminal. As far as I remember rexec doesn't establish a preudoterminal > for the executed commands so pam_securetty should always fail for rexec. > > I suggest to just remove the pam_securetty reference from the > configuration file. a working /etc/pam.d/rexec is then: ********** #%PAM-1.0 auth required /lib/security/pam_pwdb.so debug shadow nullok auth required /lib/security/pam_nologin.so account required /lib/security/pam_pwdb.so ********** I guess this should be the default for rexec in the RedHat distribution of pam. It works great for me now. Should this be something that goes into the RedHat general errata? Reid van Melle