Thanks for taking the time to read my thread. I’m banging my head off the wall on this one. I know how to go through KDE settings to “hide” a user from the login screen but I want to know where KDM is getting this info from. I’ve installed OpenSUSE 11.2 x64, configured it the way I like, and now I would like to clone it. Problem is that I logged into my own account while testing FreeNX and now my username shows up on the login screen. I want to remove any information that I logged into this system with an account other than root. I’ve Googled many times and still have no idea. I currently have two local users, root and user. The rest of my users authenticate and login via LDAP. The name of my LDAP user account is now always displayed on the KDM login screen. :\ I don’t want to disable the user list either, I just want to remove my account from the list before I clone the machine. Any ideas?
You mean that Kmenu > System Settings > Advanced > Logon screen and then the Users tab is not what you are looking for?
It is not very clear too me where you see that user “user” (nice name to make it easy :’( ) and you want it removed. Can you specify that more precise?
You mean that Kmenu > System Settings > Advanced > Logon screen and then the Users tab is not what you are looking for?
Nope, that’s not what I’m after. Thank you tho. In KDE4.3.5 on OpenSUSE 11.2 for me that same dialog is at Kmenu -> Configure Desktop -> Advanced -> Login Manager. That allows me to hide a user or disable the user list altogether.
It is not very clear too me where you see that user “user” (nice name to make it easy ) and you want it removed. Can you specify that more precise?
I don’t see “user” anywhere since I have never logged into that account. I just wanted to clarify my setup when I mentioned the two local user accounts I have. The LDAP account I signed into is what’s appearing on the KDM login screen. I’m trying to find where KDM is storing information on which users have previously logged into the system. I want to clear that information so that I have a “fresh” clean login screen as if no one has ever logged into the machine. I don’t want to “hide” my account though, and I want to keep the user list enabled so people can see whose been using the machine.
I hope that was a little clearer. I can try to post screenshots if that would help.
maverick2041 wrote:
> I want to remove any information that I logged into this
> system with an account other than root. … I just want to remove my
> account from the list before I clone the machine. Any ideas?
it is quite difficult for me to tell from your post, but it sounds
like you routinely logged into KDE/Gnome/etc as root while setting up
the system…
if that is the case i wonder if you know that doing so is one sure way
to set yourself up for problems…i strongly discourage you from
cloning what is probably a weakened, if not wholly insecure system…
let me say it this way: i would not clone that system or any other
suspect system…instead, i would start over and do all the setting up
without logging into KDE/Gnome/etc as root…
that said: as far as i know which users are listed on the log-in
screen are easily WHILE you are logged in as a normal user (not root)
controlled via Personal Settings - Configure Desktop > System
Administration > Login Manager > Administrator Mode, then in the
“Preselect User” block pick which users should show, or not…
please note the (unless yours doesn’t have it) the big red writing
saying: Attention! Read Help!!
hmmmmm…i wonder how you intend to clone…perhaps what you
actually need to do is develop your own install media with exactly the
system you want on it…which you can do at http://susestudio.com/
maverick2041 wrote:
> I’m trying to find where KDM is
> storing information on which users have previously logged into the
> system. I want to clear that information so that I have a “fresh” clean
> login screen as if no one has ever logged into the machine.
i guess i am confused, because i believe who is (or is not) shown on
the log in screen as users is NOT a result of ever logging in (or
not), but rather as a result of setting up the login screen (in the
manner noted by hcvv)
Thank you to everyone who replied! I figured how to do it
It seems KDM greeter uses the information found in /var/log/wtmp to build a list of users who’ve logged in. I simply cleared the contents of that file and logged out. Sweet, my LDAP account user is no longer displayed!
Thanks again!
Also, it might be worth mentioning that the ‘last’ command in a terminal will format & display the information found in /var/log/wtmp
I also (like DenverD) reading: " I want to remove any information that I logged into this system with an account other than root." jumped to the conclusion that you loged in as root. When that is true I fully support DenverD’s remarks (I have not read them all, but I know he is very keen to stress the stupidity of logging in as root ).
I found /var/adm/kdm/kdmrc.sysconfig, but I can not find there any usernames of people that have loged in. I assume that somewhere at least the last user that loged in must be on my system, as I configured to have that user prefilled in the logon screen. When yo do
find / -name kdm
you will get some other directories, but none of them seems to be the one you are after. In any case you can do this yourself, you are better motivated to look through all of them.
I could have guessed that it used wtmp, but decided against it because in wtmp are all user that loged in, not only those that use a GUI. But it could decide on the device (tty vs. pty).