Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2001 19:45:13 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: /bin/df set-gid operator
Message-ID:  <200104211745.TAA13326@lurza.secnetix.de>
In-Reply-To: <Pine.BSF.4.33.0104211934540.88695-100000@husten.security.at12.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Herman <pherman@frenchfries.net> wrote:
 > On Sat, 21 Apr 2001, Oliver Fromme wrote:
 > > I'm wondering why /bin/df is set-gid to the operator group
 > > by default.
 > 
 > It's to df filesystems that aren't mounted.  Try "df /dev/ad0s1a" (or
 > whatever) as user nobody with chmod 555 /bin/df.

Ah, thanks for clueing me.  :-)
I didn't know that unprivileged users are supposed to be
allowed to use df on non-mounted filesystems.

I think I'll keep it at mode 555 on my machines.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104211745.TAA13326>