Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156671 - kde-base/{kdebase/kdesu} - better message when user in not in wheel group
Summary: kde-base/{kdebase/kdesu} - better message when user in not in wheel group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 16:10 UTC by Matthew Rutledge
Modified: 2007-04-04 15:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Rutledge 2006-11-29 16:10:54 UTC
(kde installed with pam enabled)
This may or may not be an issue, and may even be considered a feature to add.
Kdesu throws a invalid password with no helpfull information when trying to 
su to do anything calendar / admin / etc, when the password entered is correct. Also pams error message while correct is also not informative but since pam isnt seen by the user and it isnt pams job, this doesnt matter. The answer to this is simple if you poke around in the config (add the user to the "Wheel" group) but to save time and make it a little friendlier to people who dont know how to poke around, perhaps adding a check to see if the user is in the group needed for those su rights and if not notify the user with Access denied instead of invalid password, and perhaps mention something about privilages.
Comment 1 Matthew Rutledge 2006-11-29 16:13:39 UTC
Sorry forgot:
Newest Pam with newest kde as of 11/29/2006 installed on latest xorg.

-Matt
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-12-20 03:36:52 UTC
This is probably upstream, but I'm not a dev...
Comment 3 arno 2007-03-22 17:53:08 UTC
Hmm, does this bug still exist in kde-3.5.5? I found this in sudlg.cpp line 78 (kdebase-3.5.5-r3 and kdebase-3.5.6-r3):

case SuProcess::SuNotAllowed:
        KMessageBox::sorry(this,
                i18n("You are not allowed to use 'su';\n"
                     "on some systems, you need to be in a special "
                     "group (often: wheel) to use this program."));
        done(Rejected);
        return false;
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 15:57:10 UTC
Looks fixed to me in 3.5.5+, see above.