* make install: some SUID-root programs?
@ 2012-06-05 15:17 Bernhard Voelker
2012-06-05 15:48 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Voelker @ 2012-06-05 15:17 UTC (permalink / raw)
To: util-linux-ng
Today, only write and wall seem to get SUID/SGID privileges during
"make install". What about others? E.g. login and su would deserve
to be `chmod u+s`-ed, right?
Or is this a task of the distributions?
Have a nice day,
Berny
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: make install: some SUID-root programs?
2012-06-05 15:17 make install: some SUID-root programs? Bernhard Voelker
@ 2012-06-05 15:48 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-06-05 15:48 UTC (permalink / raw)
To: Bernhard Voelker; +Cc: util-linux-ng
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-05 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 15:17 make install: some SUID-root programs? Bernhard Voelker
2012-06-05 15:48 ` Karel Zak
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).