- Add patch for showing "password for root" when root user is authenticating - Related: #618543epel9
parent
939469cf64
commit
ab587d97ba
@ -0,0 +1,14 @@
|
||||
Index: agent/policykitlistener.cpp
|
||||
===================================================================
|
||||
--- agent/policykitlistener.cpp (revision 1159031)
|
||||
+++ agent/policykitlistener.cpp (working copy)
|
||||
@@ -158,7 +158,8 @@
|
||||
kDebug() << "Request: " << request;
|
||||
|
||||
if (m_dialog) {
|
||||
- m_dialog->setRequest(request, echo);
|
||||
+ m_dialog->setRequest(request, m_selectedUser &&
|
||||
+ m_selectedUser->toString() == "unix-user:root");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue