LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   KDM change your password immediately... (http://www.linuxquestions.org/questions/slackware-14/kdm-change-your-password-immediately-815878/)

rpzpl 06-23-2010 05:33 AM

KDM change your password immediately...
 
Slackware ...11.X - 13.X

I configure server with only KDM access for many users (console is not allowed). Everything works great but I can`t set security policy for the password.

For the test I have done:

create account testuser
set password for testuser

To test: I login to system using testuser account and password - all work.

Next step is enforced changing password from root account

Code:

chage -d 0 testuser
On the next login user "testuser" got information

Code:

You are required to change your password immediately (root enforced)
(administrator has decided to change the password) but there is no any box to change the password.

Should I install PAM...

On the console all work correctly.

Why, Why, Why ?

allend 06-23-2010 11:28 AM

Try using KUser, the user manager program found in the KDE System Applications, for configuring KDM.

rpzpl 06-24-2010 05:24 AM

Code:

kuser
is tool for user managment but not for configure KDM.
For configuring KDM (Login Manager KDE Control Module - KDE 4.x.x) I can use
Code:

kcmshell4 kdm
but it`s wrong way to solve the problem.

allend 06-24-2010 06:20 PM

It appears that the code needed to do this is yet to be completed. From /usr/include/kgreeterplugin.h
Quote:

/**
* Contexts the talker can be used in:
* - Login: kdm login dialog
* - Shutdown: kdm shutdown dialog
* - Unlock: kdm unlock dialog (TODO)
* - ChangeTok: kdm password change dialog (TODO)
* - ExUnlock: kdesktop_lock unlock dialog
* - ExChangeTok: kdepasswd password change dialog (TODO)
*
* The Ex* contexts exist within a running session; the talker must know
* how to obtain the currently logged in user (+ domain/realm, etc.)
* itself (i.e., fixedEntity will be null). The non-Ex variants will have
* a fixedEntity passed in.
*/
enum Context { Login, Shutdown, Unlock, ChangeTok,
ExUnlock, ExChangeTok };

rpzpl 06-25-2010 02:17 AM

Thank you for the reply.

I tested Slackware versions from 12.0, 12.1, 12.2, 13.0, 13.1 and all the version have similarly description in /usr/include/kgreeterplugin.h so I send question to info@slackware.com.


Best regards

Alien Bob 07-22-2010 03:39 AM

This is something that needs to be changed in KDM - apparently the developer still needs to work on it. Currrently there is no possibility to allow you to change your password in KDM.

Therefore it is not going to make a difference when you send an email to info@slackware.com (you sent me that email as well) because Slackware only packages the KDE sources, we are not developers of KDE so we do not modify those sources unless a patch is required to make it compile successfully.

Your best shot will be to open a bug report at https://bugs.kde.org/ and hope that it will be picked up by the developers.

Eric

rpzpl 07-27-2010 07:22 AM

I opened report at https://bugs.kde.org/show_bug.cgi?id=245510 (it`s duplication of this bug https://bugs.kde.org/show_bug.cgi?id=245421) but I got some information https://bugs.kde.org/show_bug.cgi?id=245510#c3

I received new information:

https://bugs.kde.org/show_bug.cgi?id=245510#c3
and
https://bugs.kde.org/show_bug.cgi?id=245510#c5



Best regards.


All times are GMT -5. The time now is 10:43 PM.