From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N8ini-0002dm-2G for garchives@archives.gentoo.org; Thu, 12 Nov 2009 23:10:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B897E0D92; Thu, 12 Nov 2009 23:09:57 +0000 (UTC) Received: from smtp.netspace.net.au (mail-out1.netspace.net.au [203.10.110.71]) by pigeon.gentoo.org (Postfix) with ESMTP id 30D30E0D92 for ; Thu, 12 Nov 2009 23:09:57 +0000 (UTC) Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by smtp.netspace.net.au (Postfix) with ESMTPA id 7362F7DFE for ; Fri, 13 Nov 2009 10:09:54 +1100 (EST) Subject: Re: [gentoo-user] Block root user from login on xorg GUI From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <200911122218.51932.michaelkintzios@gmail.com> References: <200911122001.57860.michaelkintzios@gmail.com> <200911122218.51932.michaelkintzios@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 13 Nov 2009 08:38:18 +0930 Message-ID: <1258067298.26857.29.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c100fb67-66ed-469b-99b3-d2feab75dcf0 X-Archives-Hash: 760856acf32ef6cede263e22386003e4 On Thu, 2009-11-12 at 22:18 +0000, Mick wrote: > On Thursday 12 November 2009 22:09:01 Alan McKinnon wrote: > > Gdm itself has a config option to disallow root logins > > Ahh, unfortunately I can only access it remotely via ssh at this stage. > Hopefully the pam method will work fine. You don't need anything more to configure gdm than ssh access - this is Linux after all & a good program has text based configurations :) Edit /etc/X11/gdm/custom.conf In the section [security] add: AllowRoot=false You may then have to restart xdm. However, if someone has the root password to log in to X, then what's to stop them changing anything you do now? -- Iain Buchanan BOFH Excuse #112: The monitor is plugged into the serial port