From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:05:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D9F16A4CE for ; Sun, 18 Jan 2004 10:05:05 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E71843D1F for ; Sun, 18 Jan 2004 10:05:02 -0800 (PST) (envelope-from root@pukruppa.de) Received: (qmail 1974 invoked by uid 505); 18 Jan 2004 18:10:18 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.360469 secs); 18 Jan 2004 18:10:18 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 18 Jan 2004 18:10:18 -0000 Date: Sun, 18 Jan 2004 19:08:34 +0100 (CET) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: George Hartzell In-Reply-To: <16394.51553.280751.990205@rosebud.alerce.com> Message-ID: <20040118190630.Y748@pukruppa.net> References: <16394.51553.280751.990205@rosebud.alerce.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Should /nonexistent home dir actually exist? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 18:05:05 -0000 On Sun, 18 Jan 2004, George Hartzell wrote: > > I just noticed > > a) that several accounts (from ports stuff, it seems) on a -stable > system use /nonexistent as their home directory > > (ghost)[9:50am]log>>grep nonexist /etc/passwd > pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin > www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin > nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin > gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin > dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin > dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin > stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin > cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin > ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin > > and > > b) that it seems to exist.... > > (ghost)[9:50am]log>>ls -la /nonexistent/ > total 20 > drwxr-xr-x 2 ftp ftp 512 Jun 1 2003 . > drwxr-xr-x 20 root wheel 512 Jan 15 12:07 .. > -rw-r--r-- 1 dnslog dnslog 771 Jun 1 2003 .cshrc > -rw-r--r-- 1 dnslog dnslog 255 Jun 1 2003 .login > -rw-r--r-- 1 dnslog dnslog 165 Jun 1 2003 .login_conf > -rw------- 1 dnslog dnslog 371 Jun 1 2003 .mail_aliases > -rw-r--r-- 1 dnslog dnslog 331 Jun 1 2003 .mailrc > -rw-r--r-- 1 dnslog dnslog 801 Jun 1 2003 .profile > -rw------- 1 dnslog dnslog 276 Jun 1 2003 .rhosts > -rw-r--r-- 1 dnslog dnslog 852 Jun 1 2003 .shrc > > The name suggests that it shouldn't actually exist, presumably as a > security measure. > > Should I leave it as is, blow away the /nonexistent homedir, is it a > ports problem, or ??? Yes, it shouldn't really exist. It is only a dummy for security reasons. Regards, Uli. > > g. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+