Badges

Types

Formats

Show Only

SSH Security
https://mreschke.com/42/ssh-security
<h1 class="heading1" id="toc0">Deny Root Login</h1><a href="#top"><div class="heading_top"></div></a> <p><strong>Never allow root ssh access and make sure all users are disabled except the ones you want, I use KUser KDE User Manager, all users are disabled by default except root and your login username.</strong></p> <ol> <li>Open /etc/ssh/sshd_config</li> <li>There should be a line remmed that says #PermitRootLogin yes, unrem that and change to no</li> </ol> <h1 class="heading1" id="toc1">Different Ports and IPs</h1><a href="#top"><div class="heading_top"></div></a> <p>If your clients do not have SSH access (web hosting for example), a<br /> good way to secure your box is to run SSH on an unknown port and IP, so<br /> that people do not know your SSH port, so can't brute force it.</p>
|
post #42 by mreschke Apr 12th 2008 (4633 views)
Daemons and Runlevels
https://mreschke.com/41/daemons-and-runlevels
See LXF 114 p48, 'Banish Your Daemons' Runlevels are defined levels in which a linux operating system can start. Daemons (or services) are scripts/programs that run in the background constantly (like apache or mysql are services that are always running) and are usually executed at startup by the defined runlevel. Runlevels are identified by a number from 0 - 6, but each linux distribution may use those numbers a bit differently. Basically a runlevel determines which daemons to execute at startu...
|
post #41 by mreschke Apr 12th 2008 (13054 views)
Autostart Beryl
https://mreschke.com/36/autostart-beryl
<p>Beryl (a linux 3D desktop cube application) does not defaultly start with linux KDE or Gnome. These are instructions taken from <a class="urlLink" href="http://wiki.archlinux.org/index.php/Beryl#Method_2_-_Beryl_without_loading_kwin_.28Faster.29" onclick="window.open(this.href, '_blank'); return false;">http://wiki.archlinux.org/index.php/Beryl#Method_2_-_Beryl_without_loading_kwin_.28Faster.29</a> on how to autostart beryl in KDE.</p> <blockquote class="blockQuote">Beryl is old and is now known as compiz or compiz/fusion </blockquote>
|
post #36 by mreschke Mar 24th 2008 (3240 views)
2x Terminal Server
https://mreschke.com/35/2x-terminal-server
<p>2xTerminalServer is a Remote administration tool similar to Mircosoft Remote Desktop Server. It allows a user to connect to a remote linux workstation on his or her own private session.</p> <p>The 2x Terminal <strong>server</strong> is only for linux, but a linux and windows connection <strong>client</strong> is available.</p> <p><a class="urlLink" href="http://www.2x.com/terminalserver/" onclick="window.open(this.href, '_blank'); return false;">http://www.2x.com/terminalserver/</a></p>
|
post #35 by mreschke Mar 24th 2008 (4224 views)
Impersonation in ASP.NET
https://mreschke.com/29/impersonation-in-aspnet
<p>Impersonation is the concept whereby an application executes under the context of the identity of the client that is accessing the application. This is achieved by using the access token provided by IIS.</p> <p>Can impersonate entire website by editing the web.config or impersonate chunks of code in the codebehind.<br /> <strong>Very usefull when accessing folders on a remote server that has no domain</strong></p>
|
post #29 by mreschke Feb 29th 2008 (3233 views)
MSSQL Shared Servers
https://mreschke.com/27/mssql-shared-servers
<ol> <li>Goto Administration Tools -> Component Services<ol> <li>Under Services (local), start the 'Distributed Transaction Coordinator'</li> <li>Goto properties on 'Distributed Transaction Coordinator', Log On tab, make sure account is NetworkServices</li> </ol></li> <li>Under Component Services, expand to My Computer, goto properties on My Computer<ol> <li>MSDTC tab, then click Security Configuration</li> <li>Check 'Network DTC Access'</li> <li>Check 'Allow Remote Administration'</li> <li>Check 'Allow Inbound'</li> <li>Check 'Allow Outbound'</li> <li>Check 'No Authentication Required'</li> <li>Check 'Enable Transaction Internet Protocol (TIP) Transactions'</li> <li>Check 'Enable XA TRansactions'</li> <li>The Acount should be NetworkServices here also</li> </ol></li> <li>Open MSSQL Enterprise Manager, expand to localhost<ol> <li>Open Security</li> <li>Right Click Linked Servers, click New Linked Server...</li> <li>Enter each servers information, on each server</li> </ol></li> </ol>
|
post #27 by mreschke Feb 18th 2008 (2687 views)
Favorite Linux Commands
https://mreschke.com/25/favorite-linux-commands
<p>A list of my favorite or often used (and forgotten) linux commands (favcom).</p> <p>Most of the favorite one liners below come from <a class="urlLink" href="http://commandlinefu.com" onclick="window.open(this.href, '_blank'); return false;">http://commandlinefu.com</a> These are only the ones that I have found to be useful for me. Browse and search commandlinefu for yourself to find thousands of incredible linux commands. Also check out the references links, a lot of them simply goto commandlinefu with custom search queries.</p>
|
post #25 by mreschke Feb 14th 2008 (6259 views)
Javascript Textarea Tab Override
https://mreschke.com/24/javascript-textarea-tab-override
Override tabs in a HTML textarea box. The only problem with this script, is that if you are in a large textarea, where there are scroll bars, when you hit tab, it scrolls to the top, try it, it really sucks! > FIX: I fixed this scroll behavior, update this topic to reflect the changes > Also added other keys, like shift http:blog.riait.co.uk/2007/11/04/tab-aware-textarea/ function TabAwareTextArea( o ) { this._o = o; this._isTabLast = false; for gecko: this._restoreFocusWithCaret = -1; this._las...
|
post #24 by mreschke Jan 30th 2008 (3394 views)
Computer Build - BVise
https://mreschke.com/23/computer-build-bvise
ASUS M2NBP-VM CSM AM2 NVIDIA Quadro NVS 210S Micro ATX AMD Motherboard _ Item#:N82E16813131072 AMD Athlon 64 X2 5600Item #:N82E16819103771 G.SKILL 2GB (2 x 1GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory _ Item#:N82E16820231098 Western Digital Caviar SE16 WD5000AAKS 500GB 7200 RPM 16MB Cache SATA 3.0Gb/s Hard Drive Sony NEC Optiarc Black 20X DVDItem#:N82E16827118003 > Keywords > Brandon Built Computer New Computer bvise Asus Maxtor HD Maxtor 500g 500gig
|
post #23 by mreschke Jan 30th 2008 (1393 views)
SQL Temporary Tables
https://mreschke.com/20/sql-temporary-tables
CREATE TABLE #month0to6 (vin nvarchar(20)) DECLARE @startDate as nvarchar(10), SCF as nvarchar SET @startDate = '10/31/2007' --Insert 0 to 6 month data INSERT INTO #month0to6 (vin) SELECT DISTINCT tblVehicles.VEH_vin FROM tblROTotal --INNER JOIN tblApplications ON tblROTotal.ROH_DLR_APP_ID = tblApplications.APP_ID INNER JOIN tblVehicles ON tblROTotal.ROH_VEH_ID = tblVehicles.VEH_ID INNER JOIN tblMakeModel ON tblVehicles.VEH_MM_ID = tblMakeModel.MM_ID INNER JOIN tblCustomer ON tblCustomer.Cust_I...
|
post #20 by mreschke Jan 25th 2008 (2172 views)
Bootable KNOPPIX USB Drive
https://mreschke.com/19/bootable-knoppix-usb-drive
<p>Knoppix 5.0.1 boots rather nicely from a USB key. It's getting easier to get it working, as the USB bugs from the previous versions have been fixed. This is a "recipe" for creating a Knoppix bootable USB key. It was originally posted to the forums: <a class="urlLink" href="http://knoppix.net/forum/viewtopic.php?t=25402" onclick="window.open(this.href, '_blank'); return false;">http://knoppix.net/forum/viewtopic.php?t=25402</a></p>
|
post #19 by mreschke Jan 15th 2008 (5116 views)
Javascript Tabs
https://mreschke.com/14/javascript-tabs
A nice example of javascript clientside tabs, with current tab highlighting body {font-size:83%;padding:1em 0.5em;margin:0;font-family:Arial, Helvetica, sans-serif;} h1 {margin:0;font-weight:normal} h2 {font-weight:normal;font-size:1.35em} img {border:0;} td {font-size:83%} div.leftpad{ margin-left:25%;margin-top:27px;} .bluelink {color:#0000cc;} #footer {margin-top:2em;border-top:1px solid #ccc;padding:1em 0;color:#666;text-align:center;} #infotable {border-collapse:} #infotable p {margin:1em...
|
post #14 by mreschke Dec 14th 2007 (2856 views)
Javascript Select Checkboxes
https://mreschke.com/15/javascript-select-checkboxes
All Checkbox1 Checkbox2 Checkbox3 All Checkbox1 Checkbox2 Checkbox3
|
post #15 by mreschke Dec 14th 2007 (2005 views)
mRcore Version Information
https://mreschke.com/11/mrcore-version-information
= mRcore 4.0 Current Theme = mRcore 4.0 Previous Theme = mRcore 2.0 Final Theme = View All Screenshots :r: Find out dates of each version :r: Since the day I got my first Apple IIc computer at age 10 and started learning Apple Basic I have always attempted to develop the same type of applications, content management systems. I really don't know why but I have always had a desire to catalog everything in my life in digital form. Perhaps it's because I feel I have a poor memory, or perhaps, being...
|
post #11 by mreschke Dec 9th 2007 (8653 views)
SQL Cursor Examples
https://mreschke.com/6/sql-cursor-examples
DECLARE @server as nvarchar(50), @sql as nvarchar(4000) DECLARE SharedServers CURSOR FORWARD_ONLY FOR SELECT server FROM .ebis_prod.dbo.SharedServerList OPEN SharedServers FETCH NEXT FROM SharedServers INTO @server BEGIN TRANSACTION SET @sql = '' WHILE FETCH_STATUS = 0 BEGIN IF (@server) '' BEGIN --One itteration of SQL goes HERE SET @sql = @sql INSERT INTO .dyna.dbo.TestTable (val1, val2) VALUES (''mReschke'', ''hi'') ' END FETCH NEXT FROM SharedServers INTO @server END exec sp_executesql @sql...
|
post #6 by mreschke Nov 13th 2007 (2589 views)
About mReschke.com
https://mreschke.com/2/about-mreschkecom
<p><div class="box"><table><tr><td><div class="box_left"><img src="//mreschke.com/theme/default/images/smileys/icon_info.png" alt="Info" /></div></td><td><div class="box_right"> mReschke.com (M. Reschke) is my personal content management system focused on providing a place I can archive my IT & Development experience related to <a class="urlLink" href="/search/*/LINUX">Linux</a>, <a class="urlLink" href="/search/*/BSD">BSD</a>, <a class="urlLink" href="/search/*/WINDOWS">Windows</a>, <a class="urlLink" href="/search/*/DATABASE">Database</a>, <a class="urlLink" href="/search/*/DEVELOPMENT">Development</a> and much <a class="urlLink" href="/search">more...</a></p> <p>mReschke.com utilizes a custom PHP web application and framework I call mRcore (M.R. Core). mRcore v4.0 is currently ~80k lines of custom PHP, HTML, CSS, Javascript, Java, Bash, Perl, Phython and MySQL code including the <a class="urlLink" href="http://pear.php.net/package/Text_Wiki/" onclick="window.open(this.href, '_blank'); return false;">Text_Wiki</a> PHP parser which I have heavily modified to suit my needs. Its primarily my custom content manager (sorry drupal and wordpress) and a mix between a wiki, blog, file manager/archiver, picture gallery and more.<br /> </div></td></table></div></p>
|
post #2 by mreschke Nov 12th 2007 (5305 views)
Showing 101 to 116 of 116 results