Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How do I secure the desktop?, Need help locking desktop< Next Oldest | Next Newest >
Thulemanden Offline





Group: Members
Posts: 95
Joined: Sep. 2005
Posted: April 08 2007,06:00 QUOTE

Quote (mikshaw @ June 29 2006,14:43)
One thing you could do is create good passwords and log out when you're not around.
.

If I have a web server running and log out, will that mean the server stops?

--------------
Linuxcounter member #322220. http_//www.linuxcounter.org
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 08 2007,15:50 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Thulemanden Offline





Group: Members
Posts: 95
Joined: Sep. 2005
Posted: April 08 2007,16:01 QUOTE

Quote (mikshaw @ April 08 2007,12: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.

I don't know how one backgrounds a server at start

--------------
Linuxcounter member #322220. http_//www.linuxcounter.org
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 08 2007,19:36 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Thulemanden Offline





Group: Members
Posts: 95
Joined: Sep. 2005
Posted: April 08 2007,22:33 QUOTE

ok, thanks - appreciate the explanation

--------------
Linuxcounter member #322220. http_//www.linuxcounter.org
Back to top
Profile PM WEB 
9 replies since June 29 2006,15:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: How do I secure the desktop?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code