Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224877 - Porthole should prompt for password again after incorrect entry.
Summary: Porthole should prompt for password again after incorrect entry.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 224905 (view as bug list)
Depends on:
Blocks: 219902
  Show dependency tree
 
Reported: 2008-06-04 11:31 UTC by Adam Bowers
Modified: 2009-10-27 14:30 UTC (History)
1 user (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 Adam Bowers 2008-06-04 11:31:45 UTC
When entering the sudo password in Porthole, if the user types in the wrong password there is no way to retry.  Closing the sync/emerge window isn't enough, Porthole must be restarted to get another attempt.  It would be nice if it would come back with another attempt or two.

Reproducible: Always

Steps to Reproduce:
1.Run Porthole
2.Attempt an action that requires elevated privileges.
3.Enter in wrong password.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-04 11:39:57 UTC
Which version are you referring to?
Comment 2 Adam Bowers 2008-06-04 16:13:07 UTC
(In reply to comment #1)
> Which version are you referring to?
> 

Sorry about that.  It is version 0.6.0_rc3.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2008-06-04 22:01:49 UTC
I will work on it somewhat, to see what I can do for -0.6.0 final.  I don't want to do too many changes at this point.
I intend to revamp the terminal and integrate libgksu for user/priviledge changes in the next release. so all the existing code will be obsolete.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-05 03:46:09 UTC
*** Bug 224905 has been marked as a duplicate of this bug. ***
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2008-06-06 08:35:13 UTC
This has been fixed and in svn  revisions 1008, 1009, 1010.  It will be included in the final version of porthole-0.6.0.  Also improved is the password saved in memory is scrambled to prevent it from easily being viewed/compromised.

As it turned out I had it basicly fixed in less than an hour, but it turned out sudo currently has an additional 43 insults that it can substitute for the default 'Sorry, try again.'.  That took some additional coding and I added another category to the regexpression message filtering to catch any of the bad password messages.  If you have configured sudo for anything other than the pre-configured messages you will need to edit the configuration.xml file and add them to the badpassword section.

This bug can be marked as fixed upstream.

Thank you, Brian
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2009-06-01 08:06:57 UTC
bug #265602 has porthole-0.6.0_rc5 release which includes thi fix.
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2009-10-27 14:30:12 UTC
Fixed in porthole-0.6.0, thanks guys.