Activating/Disabling the autologin
I am running Suse Linux 9.2 Pro, full install.
My problem: My cousin comes over from time to time, and although he thinks he knows a lot about computers, he really doesn't. The problem is that he will often try to change settings and end up destroying everything on my computer, forcing me to reformat. I have the computer set up so he can just turn it on, and it will login as guest. If I don't want him using the computer, I would type: Code:
xlock -mode laser -timeout 1 -password "System Locked by Administrator" -invalid "Access Denied" something to the effect of: int main(){ disable autologin call xlock while xlock does not return success, keep looping enable autologin return 0; } I can put this executable on the desktop, and with a single click accomplish my goal. I would be VERY thankful if someone could write a quick program to do this (I understand you guys have lives and probably don't want to do that), so if anyone knows of a quick script or a prewritten program that does this I would be very thankful! I can probably figure out the xlock calling and checking if xlock is done, but I have no idea how to change the autologin setting. Any help would be hot! |
perhaps you can just setup your xsession script to do an automatic xlock. So that everytime you log in, you get an xlock, forcing you to type the password everytime you log in.
|
oh, that is a GREAT idea, thanks!
|
Disabling auto-logon in SuSE 9.2
Here's how to disable auto-login on SuSE 9.x:
su - root vi /etc/sysconfig/displaymanager: Look for: "DISPLAYMANAGER_AUTOLOGIN=<name>" Change the name to <blank>: Set "DISPLAYMANAGER_AUTOLOGIN=" 'Hope that helps .. PSM |
All times are GMT -5. The time now is 12:07 AM. |