Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138885 - sys-apps/shadow ebuild don't set SUID flag
Summary: sys-apps/shadow ebuild don't set SUID flag
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 10:04 UTC by Dmitry S. Kulyabov
Modified: 2006-08-16 11:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,5.19 KB, text/plain)
2006-07-11 05:10 UTC, Dmitry S. Kulyabov
Details
ls -RlF /var/tmp/portage/shadow-4.0.15-r2/image (image_lsRl,25.43 KB, text/plain)
2006-07-11 05:17 UTC, Dmitry S. Kulyabov
Details
emerge -vp shadow (emerge_shadow,204 bytes, text/plain)
2006-07-11 05:19 UTC, Dmitry S. Kulyabov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry S. Kulyabov 2006-07-02 10:04:21 UTC
sys-apps/shadow ebuild don't set SUID flag for they binaries
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 10:09:10 UTC
Reopen w/ emerge -pv shadow and emerge --info output.
Comment 2 Dmitry S. Kulyabov 2006-07-11 05:10:19 UTC
Created attachment 91452 [details]
emerge --info
Comment 3 Dmitry S. Kulyabov 2006-07-11 05:17:13 UTC
Created attachment 91454 [details]
ls -RlF /var/tmp/portage/shadow-4.0.15-r2/image

From http://www.gentoo.ro/doc/en/security/security-handbook.xml?part=1&chap=6

List of setuid binaries

/bin/su
/bin/ping
/bin/mount
/bin/umount
/var/qmail/bin/qmail-queue
/usr/bin/chfn
/usr/bin/chsh
/usr/bin/crontab
/usr/bin/chage
/usr/bin/expiry
/usr/bin/sperl5.6.1
/usr/bin/newgrp
/usr/bin/passwd
/usr/bin/gpasswd
/usr/bin/procmail
/usr/bin/suidperl
/usr/lib/misc/pt_chown
/usr/sbin/unix_chkpwd
/usr/sbin/traceroute
/usr/sbin/pwdb_chkpwd

But I haven't suid bit ((((
Comment 4 Dmitry S. Kulyabov 2006-07-11 05:17:37 UTC
Help me )
Comment 5 Dmitry S. Kulyabov 2006-07-11 05:19:34 UTC
Created attachment 91455 [details]
emerge -vp shadow
Comment 6 SpanKY gentoo-dev 2006-07-14 21:27:09 UTC
something is clearly screwed up on your system, shadow works fine here

run `MAKEOPTS=-j1 emerge shadow >& log` and post the log as an attachment