Date: Mon, 16 Oct 2000 16:47:40 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: "Andrew M. Miklic" <miklic@udlkern.fc.hp.com> Cc: nakai@freebsd.org, ports@freebsd.org Subject: Re: GDM Message-ID: <20001016164740.A60683@pcwin002.win.tue.nl> In-Reply-To: <39EB10C2.97F3D78@udlkern.fc.hp.com>; from miklic@udlkern.fc.hp.com on Mon, Oct 16, 2000 at 08:29:22AM -0600 References: <39EB060A.B4E87FD5@udlkern.fc.hp.com> <20001016155438.E58406@pcwin002.win.tue.nl> <39EB10C2.97F3D78@udlkern.fc.hp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 16, 2000 at 08:29:22AM -0600, Andrew M. Miklic wrote: > This may seem like either a stupid or snotty question, depending on my level > of ignorance about the ports collection and its ability to change files like > the /etc/pam.conf, but shouldn't an install of gdm either modify this file > appropriately so that it will just work "out-of-the-box", or at least do > something akin to what netscape does (for its java applets problem) and > print a nice little message at the end of the install notifying the user > of a potential problem and suggesting a step-by-step manual solution for it? Yes, I agree. As you describe, there are a number of ports that do this already. GDM should be updated to print such a notice too. Attached is a quick patch that should update the port; it is however untested. Basically it displays a copy of pkg-descr (pkg-message). I have updated some lines however to better reflect reality and to correct a few spelling mistakes. Maintainer, do as you want with this. Regards, --Stijn --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdm.patch" diff -urN /usr/ports/x11/gdm/Makefile gdm/Makefile --- /usr/ports/x11/gdm/Makefile Mon Oct 9 11:26:47 2000 +++ gdm/Makefile Mon Oct 16 16:38:48 2000 @@ -36,5 +36,6 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm/ + ${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -urN /usr/ports/x11/gdm/pkg-message gdm/pkg-message --- /usr/ports/x11/gdm/pkg-message Thu Jan 1 01:00:00 1970 +++ gdm/pkg-message Mon Oct 16 16:44:47 2000 @@ -0,0 +1,22 @@ +GDM is installed. + +Please note the following: +- This port doesn't work on the normal FreeBSD 3.x-RELEASEs because + PAM is not stable. +- This port has been tested on 5.0-CURRENT and 4.1.1-STABLE. + 4.x-RELEASE may or may not work. +- You should append these lines to your /etc/pam.conf, otherwise + GDM will refuse all logins: + +# gdm config +gdm auth requisite pam_unix.so try_first_pass +gdm account requisite pam_unix.so try_first_pass +gdm session required pam_permit.so + +- To enable GDM after booting, edit your /etc/ttys(5), and change the line + for ttyv8 to + +ttyv8 "/usr/X11R6/bin/gdm -nodaemon" xterm on + +These notes were written by: Yukihiro Nakai <nakai@FreeBSD.org> +and updated by: Stijn Hoop <stijn@win.tue.nl> --jRHKVT23PllUwdXP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001016164740.A60683>