kpassworddialog, kdesu
Aaron J. Seigo
aseigo at kde.org
Wed Jan 31 19:26:17 GMT 2007
On Wednesday 31 January 2007 10:34, Thomas Zander wrote:
> Do note that a system that is based on sudo like privilege system has the
> concept of only one password. Which technically is the users password. But
> to the user there is simply one password. The dialog should be able to
> have a 'mode' that makes this distinction.
> Where the 'sudo' mode basically means the user gets to type a password with
> nothing but a string like: "Type your password:"
there was support for this in kdesu but it was apparently broken due to having
more than one place where DEFAULT_SUPER_USER_COMMAND was defined. i've fixed
that and will commit on monday due to API changes required in kdelibs/kdesu.
> Slightly off topic;
> A bug in kubuntu currently is that in several places there is a kdesu
> dialog that is based on sudo, but if you remove the sudo priviledges (not
> put the user in group 'staff') this means the passwords will consistently
> fail without proper indication and without fallbacks to the root password.
> Would be nice if there was either a user-wide setting for this mode, or an
> easier way to do this in the API.
there is this setting in kdeglobals:
[super-user-command]
super-user-command=su
not very well documented obviously.. perhaps something i should add to the sys
admin area as i flesh that out
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070131/ec39f41d/attachment.sig>
More information about the kde-core-devel
mailing list