|
Tech Notes -
Linux
|
|
Written by Rick
|
|
Wednesday, 24 June 2009 00:00 |
|
Have you ever tired of seeing the standard SSH welcome message (a.k.a. banner)? Does it provide too much information about the system creating a security concern? If your answer to either of these questions is "Yes", then read on.
Changing the message is relatively easy. Simply modify motd. The file is located in /var/run on my system. Other information I've found suggests the file is located in /etc. I do have a shortcut from /etc to the file in /var/run so either location may be valid depending upon your release version of Ubuntu.
If you also wish to remove the "Last Login" information line, you 'll need to modify one other file (though not recommended). Edit /etc/ssh/sshd_conf. Locate and change the line "PrintLastLog yes" to "PrintLastLog no". Restart the ssh daemon (sudo /etc/init.d/ssh restart).
|
|
|
Tech Notes -
Linux
|
|
Written by Rick
|
|
Friday, 05 June 2009 17:00 |
|
I've tried following instructions found on the 'net for turning on the NumLock key at startup in KDE. Only problem; I don't have the keyboard element installed for some reason. So I'm trying the KDM solution;
Edit /etc/kde4/kdm/Xsetup. Add the following lines;
if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi
|
|
Development -
Joomla
|
|
Written by Rick
|
|
Friday, 05 June 2009 07:00 |
|
Not that I can blame developers for wanting to do a little advertising in their Open Source creations distributed under the GNU Public license, but it can be bit troublesome.
I have 3 sites where I've installed !JoComment 4.0 alpha3 by Compojoom.com. All three sites started to receive hits for the phrase "Powered by !JoComment". That's not exactly one of the terms I was hoping to get ranked in the search engines. Needless to say, I started looking for ways to remove it.
|
|
Read more...
|
|
Development -
PHP
|
|
Written by Rick
|
|
Friday, 15 May 2009 00:00 |
|
I've been working on a project using php executed from the command line. The project downloads files via FTP from several sources, renames the files and tosses the files into a new directory structure. I never thought I'd find a legitmate reason to create a "file scrounger".
Throughout development I've been executing the script from the command line to test and debug. Happily building the app step by step. Once it was complete I thought I'd just be able to execute it from a cron job on my Linux box and be done with it. Boy, was I wrong!!!
|
|
Read more...
|
|
Tech Notes -
Linux
|
|
Written by Rick
|
|
Thursday, 14 May 2009 07:31 |
|
The location of a user's crontab file, in Linux, varies from distribution to distribution. It can even vary in different releases of a distribution. In Ubuntu (and variants) for release 9.04 the location is;
/var/spool/cron/crontabs
The user's crontab will be titled by the user's name.
|
|
Read more...
|
|
|
<< Start < Prev 1 2 Next > End >>
|
|
Page 1 of 2 |