util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Cc: util-linux-ng@vger.kernel.org
Subject: Re: make install: some SUID-root programs?
Date: Tue, 5 Jun 2012 17:48:01 +0200	[thread overview]
Message-ID: <20120605154801.GB3882@x2.net.home> (raw)
In-Reply-To: <318289300.205241.1338909469539.JavaMail.open-xchange@email.1und1.de>

On Tue, Jun 05, 2012 at 05:17:49PM +0200, Bernhard Voelker wrote:
>  Today, only write and wall seem to get SUID/SGID privileges during
> "make install". What about others?

 mount, umount

> E.g. login and su would deserve

 - for login(1) is it unnecessary, it's executed by getty ant it runs
   with root perms.

 - for su(1) is it necessary, fixed. Thanks ;-)

> to be `chmod u+s`-ed, right?
> Or is this a task of the distributions?

It's definitely better if distributions somehow control all the stuff
from upstreams -- blindly use result from "make install" is a bad idea.
For example in rpm is special %files section for this purpose.

Trust, but verify :-)

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2012-06-05 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 15:17 make install: some SUID-root programs? Bernhard Voelker
2012-06-05 15:48 ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120605154801.GB3882@x2.net.home \
    --to=kzak@redhat.com \
    --cc=mail@bernhard-voelker.de \
    --cc=util-linux-ng@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).