From owner-freebsd-ports Sat Jun 29 3:50:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1005037B406 for ; Sat, 29 Jun 2002 03:50:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC37243E1A for ; Sat, 29 Jun 2002 03:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5TAo4JU056967 for ; Sat, 29 Jun 2002 03:50:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5TAo4oF056966; Sat, 29 Jun 2002 03:50:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50F3F37B401 for ; Sat, 29 Jun 2002 03:40:32 -0700 (PDT) Received: from lofi.dyndns.org (pD90032D7.dip.t-dialin.net [217.0.50.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 094E643E06 for ; Sat, 29 Jun 2002 03:40:31 -0700 (PDT) (envelope-from lofi@lofi.dyndns.org) Received: from lofi.dyndns.org (lofi@localhost [127.0.0.1]) by lofi.dyndns.org (8.12.4/8.12.4) with ESMTP id g5TAeTcV009821 for ; Sat, 29 Jun 2002 12:40:29 +0200 (CEST) (envelope-from lofi@lofi.dyndns.org) Received: (from lofi@localhost) by lofi.dyndns.org (8.12.4/8.12.4/Submit) id g5TAeSub009820; Sat, 29 Jun 2002 12:40:28 +0200 (CEST) (envelope-from lofi) Message-Id: <200206291040.g5TAeSub009820@lofi.dyndns.org> Date: Sat, 29 Jun 2002 12:40:28 +0200 (CEST) From: Michael Nottebrock Reply-To: Michael Nottebrock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39994: [PATCH] x11/kdebase3 Hide more users by default in kdm Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39994 >Category: ports >Synopsis: [PATCH] x11/kdebase3 Hide more users by default in kdm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 29 03:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Michael Nottebrock >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: >Description: http://bugs.kde.org/db/44/44498.html The patch below replaces files/patch-kdm-kfrontend-genkdmconf.c Future releases won't need this, because kdm will hide users depending on their UID. >How-To-Repeat: >Fix: --- kdm/kfrontend/genkdmconf.c.orig Wed Jun 26 12:37:51 2002 +++ kdm/kfrontend/genkdmconf.c Wed Jun 26 12:39:42 2002 @@ -402,7 +402,7 @@ "# by Xsetup usually.\n" "# This is not required if you use PAM with the pam_console module.\n" "#\n" -"#chown $USER /dev/console\n" +"chown $USER /dev/console\n" "\n" #ifdef _AIX "# We create a pseudodevice for finger. (host:0 becomes kdm/host_0)\n" @@ -443,8 +443,8 @@ "# Reassign ownership of the console to root, this should disallow\n" "# assignment of console output to any random users's xterm. See Xstartup.\n" "#\n" -"#chown root /dev/console\n" -"#chmod 622 /dev/console\n" +"chown root /dev/console\n" +/* "#chmod 622 /dev/console\n" */ "\n" #ifdef _AIX "if [ -f /usr/lib/X11/xdm/sessreg ]; then\n" @@ -1054,7 +1054,7 @@ { "Language", "de_DE", 0 }, { "ShowUsers", "None", 0 }, { "SelectedUsers", "root,johndoe", 0 }, -{ "HiddenUsers", "adm,alias,amanda,apache,bin,bind,daemon,exim,falken,ftp,games,gdm,gopher,halt,httpd,ident,imnadm,ingres,kmem,lp,mail,mailnull,man,mta,mysql,named,news,nfsnobody,nobody,nscd,ntp,operator,pcap,pop,postfix,postgres,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,radvd,reboot,rpc,rpcuser,rpm,sendmail,shutdown,squid,sympa,sync,tty,uucp,xfs,xten", 1 }, +{ "HiddenUsers", "adm,alias,amanda,apache,bin,bind,daemon,exim,falken,ftp,games,gdm,gopher,halt,httpd,ident,imnadm,ingres,kmem,lp,mail,mailnull,man,mta,mysql,named,news,nfsnobody,nobody,nscd,ntp,operator,pcap,pop,postfix,postgres,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,radvd,reboot,rpc,rpcuser,rpm,sendmail,shutdown,smmsp,squid,sympa,sync,tty,uucp,www,xfs,xten", 1 }, { "MinShowUID", "1000", 0 }, { "MaxShowUID", "29999", 0 }, { "SortUsers", "false", 0 }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message