On Sat, Jan 08, 2011 at 03:54:19PM -0400, Rodrigo Belém wrote: > On Wed, Jan 5, 2011 at 1:40 PM, Oswald Buddenhagen <[email protected]> wrote: > > kcm_kdm and genkdmconf have code which (probably - i didn't look at your > > patch) serves the same purpose. it should be probably centralized > > somehow. > > > Thanks Oswald, I had no idea where to look for it. I think that it > should be centralized in KUser. What do you think? > too specialized. it should probably go to libkworkspace or some such.
note that the code is quite a hack which assumes fixed values. the correct solution would be actually parsing /etc/login.defs (and whatever other config files exist, depending on the distribution/os).
