[Bug 261809] New: KDEsudo asks for permission to run one command in a script, but does not ask about the next ones.
rockachu2 at gmail.com
rockachu2 at gmail.com
Sat Jan 1 19:27:37 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=261809
Summary: KDEsudo asks for permission to run one command in a
script, but does not ask about the next ones.
Product: kde
Version: unspecified
Platform: Debian unstable
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: rockachu2 at gmail.com
Version: unspecified (using KDE 4.5.90)
OS: Linux
If you accidentally start a partially-malicious script, that requires root
priveledges, kdesudo will ask fro the password for root, as it should. It also
says the command that is running under kdesudo. BUT it does not say that it
will run more kdesudo commands from the script without asking for a password.
Reproducible: Always
Steps to Reproduce:
create a script with kdesudo apt-get update, and apt-get upgrade:
kdesudo apt-get update;kdusudo apt-get upgrade
Actual Results:
kdesudo asks fro a password to run apt-get update. It does not inform the user
about the 'upgrade' command.
Expected Results:
Told the user that it will allow all further calls from that script to run
under root, and give an option to ask again for a root password the next time
it is run from the same script (ex case, it would ask for a password for
apt-get upgrade)
I've made a few mistakes with busted repositories (I edit my sources a LOT) and
this would have saved me every time.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list