Bug 110663

Summary: setuid root can be just setgid somegroup
Product: [Fedora] Fedora Reporter: Ales Ledvinka <ledva>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 1CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-09 10:43:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ales Ledvinka 2003-11-22 15:02:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b)
Gecko/20030516 Mozilla Firebird/0.6

Description of problem:
1st are:
/etc/shadow with chage

2nd are:
/etc/gshadow with gpasswd

3rd is up to somebody else to find more

Version-Release number of selected component (if applicable):


How reproducible:
Didn't try

Steps to Reproduce:
1.minimal install fedora
2.reboot
3.login and ls -ld ...
    

Additional info:

how about this change?

groupadd shadow

chgrp shadow /etc/shadow
chmod g+r /etc/shadow

chgrp shadow /usr/bin/chage
chmod u-s,g+s /usr/bin/chage

groupadd gshadow

chgrp gshadow /etc/gshadow
chmod g+r /etc/gshadow

chgrp gshadow /usr/bin/gpasswd
chmod u-s,g+s /usr/bin/gshadow

Comment 1 Ales Ledvinka 2003-11-22 15:07:02 UTC
g+r -> g+rw