You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, October 29th 2004, 3:44am

Creating themes for KDM

Hello everyone.

I have just recently moved to KDE 3.2 (SuSE 9.1) from a purely GNOME background and have come across something of interest. I stumbled across this wallpaper http://www.deviantart.com/view/5540749/ and wanted to create a new login for KDM.

However after about an hour of googling; I have turned up empty handed in any resources on how to create a new theme for KDM.

My idea was to do the following (with the wallpaper still in mind):

User: Username for logging into the system. Check against /etc/passwd to verify username.
Access Code: The users password. I am not to sure how this will work (where I will go to verify the password entered is correct or not). But some snooping around should reveal where/howto.
Security Key: This can either be left blank (or removed completly).

One idea however was to create a file containing a list of secondary passwords. This list would only be used by the KDM as a "second level of security" whilst logging into KDE.
How I thought it might work would be like this:

User would have a normal system wide password created when OS was being installed (or whenever). Usually the user name and user system password would need to be entered in to log into KDE. However now a secondary password (Security Key) would also need to be entered. The only time the Security Key would be used is when the user goes to log into KDE.
This Security Key would most likely be placed in $HOME/.kde/ rather than in /etc/. Doing this would enable non-root users to create a new file if no previous file was found. The file would contain the shadowed Security Key.

First time Login:

User: my username
Access Code: my normal password
Security Key: wanted security key password different from normal password

KDM creates file in the selected users $HOME/.kde/ dir after verifying that the users name and normal password are correct (and Security Key is different from "normal" password). If they are create file with shadowed password and ask user to re-enter information. User does and is able to log into KDE. If user enters in wrong Security Key. KDM checks against the file and prompts the user to try again. A log will be produced detailing the times and passwords entered in the failed attempts and stored once again in $HOME/.kde/

The reason for this you might be asking? I LOVE Resident Evil. And ever since I saw the login screen on Resident Evil 1 & 2 (1 was in the lab to release the mechanical doors, and in 2 it was in the police station, main foyer on desk) I have wanted to implement something like that.

Any help (or ideas) would be greatly appreciated.

Thanks
(Insert quotation found via goolge.com that is sarky/witty/makes me look more intelligent then I really am, here)