Date: Sun, 18 Jan 2004 19:08:34 +0100 (CET) From: Peter Ulrich Kruppa <root@pukruppa.de> To: George Hartzell <hartzell@kestrel.alerce.com> Cc: freebsd-questions@freebsd.org Subject: Re: Should /nonexistent home dir actually exist? Message-ID: <20040118190630.Y748@pukruppa.net> In-Reply-To: <16394.51553.280751.990205@rosebud.alerce.com> References: <16394.51553.280751.990205@rosebud.alerce.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 | +---------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040118190630.Y748>