How do I secure the desktop?Forum: Other Help Topics Topic: How do I secure the desktop? started by: jbr Posted by jbr on June 29 2006,15:45
After installing dsl to my hard drive, I need to know how to lock up the desktop to keep the wrong people from using the box. Is there a screensaver function that will lock it? Or is there a keystroke that will do the same.
Posted by mikshaw on June 29 2006,17:43
One thing you could do is create good passwords and log out when you're not around.Another option is to install xscreensaver and set a password for it (i don't know if ctrl+alt+backspace will override it). There might be a screen locking mechanism for DSL, but i haven't heard or seen anything about it. Posted by outer!s on April 06 2007,08:57
there is xscreensaverGTK.dslit have funciotn u asking and look: < http://damnsmalllinux.org/cgi-bin....ensaver > and maybe someone can telme: how to make xscreensavers daemon auto start (what to write in bootlocal.sh) ? Posted by mikshaw on April 06 2007,14:33
xscreensaver won't run from bootlocal, since it is an X application. Start it from /home/dsl/.xinitrc instead. The command should be "xscreensaver &" or something very similar, and should be inserted above the "case $DESKTOP in" part.
Posted by ^thehatsrule^ on April 06 2007,16:03
I think xlock or something similar is needed to prevent the ctrl+alt+bksp sequence, though you could try to continuously run "startx" in a infinite loop.
Posted by Thulemanden on April 08 2007,06:00
If I have a web server running and log out, will that mean the server stops? Posted by mikshaw on April 08 2007,15:50
No. Unless you started the server without backgrounding it (which is unusual for a server), you don't have to worry about logging out. As long as the operating system is still running, the server should also.
Posted by Thulemanden on April 08 2007,16:01
I don't know how one backgrounds a server at start Posted by mikshaw on April 08 2007,19:36
Most servers I've seen will run in the background by default, so you usually wouldn't need to be concerned about it.One way to test is to run the server from a terminal. If you can no longer use that terminal interactively (depending on the application, you might need to press enter before you'll get the prompt back) then the server probably doesn't automatically run in the background. If this is the case, you can run the program with an ampersand (&) following it to put it in the background. If the application is already running, you can press Ctrl+z to suspend it. It will present you with a number representing the application, which you can use to background the application (bg 1, for example, will background the first application run from the current shell). Some applications will close when the parent shell closes, regardless of whether or not it was backgrounded, so backgrounding from an interactive shell is not the ideal way to start a program if you intend to logout afterward. Servers are typically started during the init process, either from one of the /etc/init.d scripts or from /opt/bootlocal.sh Posted by Thulemanden on April 08 2007,22:33
ok, thanks - appreciate the explanation
|