[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:security:basic_security [2012/10/07 10:19 (UTC)] – [Sources] htexmexhhowtos:security:basic_security [2012/10/19 17:03 (UTC)] (current) – Grammar fix trunkline
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== Basic Security ====== ====== Basic Security ======
-These are things that every user can do to improve system security. Advanced topic will not be presented here, just the basics that every user can implement easily and will provide decent protection.+These are things that every user can do to improve system security. Advanced topics will not be presented here, just the basics that every user can implement easily and will provide decent protection.
 ==== Use Strong Passwords ==== ==== Use Strong Passwords ====
 The strength of your password depends on three things: The strength of your password depends on three things:
Line 24: Line 24:
 By default, the Xorg server listens to port 6000 for remote connections. Sometimes you want remote connections, but if you don't, then disabling it is a good idea. By default, the Xorg server listens to port 6000 for remote connections. Sometimes you want remote connections, but if you don't, then disabling it is a good idea.
 The easiest way to do this is by creating this file at ''~/.xserverrc'' **OR** ''/etc/X11/xinit/xserverrc''. The easiest way to do this is by creating this file at ''~/.xserverrc'' **OR** ''/etc/X11/xinit/xserverrc''.
-<file bash>+<file bash xserverrc>
 #!/bin/sh #!/bin/sh
  
 exec /usr/bin/X -nolisten tcp exec /usr/bin/X -nolisten tcp
 </file> </file>
-You can specify more options to X in the same file if you need to.+You can specify more options to X in the same file if you need to.xserverrc 
 +<note> 
 +On Slackware, listening for incoming XDMCP requests is disabled by default in both xdm and kdm, so it is secure by default. One may ask, why bother stopping Xorg from listening if this is the case. It is always better not to trust config files, as exemplified by an old bug report when [[http://bugs.xfree86.org/show_bug.cgi?id=1376|xdm ignored its config file]]. 
 +</note>
 ==== Check for open ports ==== ==== Check for open ports ====
 Some ways to check for open ports are: Some ways to check for open ports are:
Line 55: Line 58:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>security template}}+{{tag>security software author_htexmexh}}
 howtos:security:basic_security ()