From owner-freebsd-security Mon Dec 14 19:06:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA29171 for freebsd-security-outgoing; Mon, 14 Dec 1998 19:06:22 -0800 (PST) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA29165 for ; Mon, 14 Dec 1998 19:06:19 -0800 (PST) (envelope-from cy@cschuber.net.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.9.1/8.8.8) id TAA18741; Mon, 14 Dec 1998 19:06:13 -0800 Received: from cschuber.net.gov.bc.ca(142.31.240.113), claiming to be "cwsys.cwsent.com" via SMTP by point.osg.gov.bc.ca, id smtpda18739; Mon Dec 14 19:06:01 1998 Received: (from uucp@localhost) by cwsys.cwsent.com (8.9.1/8.9.1) id HAA07450; Sun, 13 Dec 1998 07:26:25 -0800 (PST) Message-Id: <199812131526.HAA07450@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdKa7442; Sun Dec 13 07:25:44 1998 X-Mailer: exmh version 2.0.2 2/24/98 Reply-to: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: cy To: Frank Tobin cc: FreeBSD-security Mailing List Subject: Re: Limiting which users can login via xdm In-reply-to: Your message of "Fri, 11 Dec 1998 23:47:32 CST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 13 Dec 1998 07:25:42 -0800 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , Fran k Tobin writes: > I was wondering if there was a way to limit access to xdm according to > users. A major reason I'd like to be able to do this is that it could > ensure that I could keep track of logins to xdm that are done remotely. > Can one get xdm to use login(1), and consequently, check access via > /etc/login.access? Xdm's Xsession script could be modified to limit who has access to xdm. Xdm sets the USER and LOGNAME environment variables, which could be used to verify the user's identity. Alternatively you could get the user's identity from id or whoami. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: cschuber@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Government of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message