February 15th, 2016 admin
There is a multitude of ways to change the admin password for a wordpress installation. Do a Google search, if you don’t like this one.
I find the easiest to change it directly in the database (database details can be looked up, if you have FTP access and can look at wp-config.php)
- Create an MD5 encrypted password – http://www.miraclesalad.com/webtools/md5.php
- Log in to your database : Home > Database Management > phpMyAdmin
- Credentials can be found on Home > Database Management > MySQL User
- Once logged in, find the wp_users table in your database
- Select the user you want to change by clicking on the pencil icon
- Change the user_pass field by copying the MD5 password created above into the field. Make sure MD5 is selected for the changes to reflect.
Then you can log in again.
Posted in wordpress | Comments Off on Change WordPress admin password without email access
February 13th, 2016 admin
refer also:
https://bugs.downthemall.net/ticket/1614
This has never been a bug. You can adjust these setting by going into about:config on your Firefox
Then finding
extensions.dta.ntask //for max concurrent downloads
extensions.dta.serverlimit.perserver //for max concurrent downloads per server
extensions.dta.maxchunks //for max segments per download
And setting them to the number you think most appropriate. I used 100 on each of those, but that may be too much for you. Experiment a little bit. You can always lower the settings from within the Down them All interface once you set them really high here.
Posted in firefox | Comments Off on Firefox & Downthemall increase number of segments, maximum concurrent downloads
February 1st, 2016 admin
Running more than one spam filter at a time can cause both filters to become ineffective, thus it is only necessary to run Cloudmark’s filter. To disable the Junk filter, follow the instructions below.
To turn off Junk filtering in Outlook, Windows Mail, and Windows Live Mail:
For Outlook 2010:
- Click on the Home tab.
- In the “Delete” section of the task bar, click on the “Junk” icon.
- From the drop down menu, select “Junk mail options.”?
- Select “No automatic filtering.”
- Click “Apply” then “OK.”
For Outlook:
- Open Outlook.
- Click on the Tools menu.
- Choose Options from the drop-down menu.
- Click the Preferences tab on the window that appears.
- Under “E-mail”, click the Junk E-mail button.
- Choose “No Automatic Filtering”, then click Apply, then OK to accept the change.
- Restart Outlook.
For Windows Mail:
- Open Windows Mail.
- Click on the Tools menu
- Choose Junk E-mail Options from the drop-down menu.
- Click the Options tab on the window that appears.
- Choose “No Automatic Filtering” then click Apply, then OK to accept the change.
- Restart Windows Mail.
For Windows Live Mail:
- Open Windows Live Mail.
- Click the Actions menu.
- Choose Junk e-mail, then safety options from the drop-down menu.
- Choose “No Automatic Filtering” then click Apply, then OK to accept the change.
- Restart Windows Live Mail.
Posted in Outlook, Windows | Comments Off on How to turn off the existing Junk mail filter in Outlook, Windows Mail, and Windows Live Mail
January 31st, 2016 admin
This is done with another plugin:
All In One WP Security & Firewall
by Tips and Tricks HQ, Peter, Ruhul, Ivy
It has a wonderful set of all sorts of security features. Go to the plugin homepage for more information and details.
I have only activated 4 features:
- I changed the default admin login username to something different. Thus making it harder for potential attacks to get the first half of the access details by guessing.
- I am locking them out if they use a wrong username. So to reduce the opportunity to get in.
- I locked down the login. So after 3 wrong login attempts (with the existing username) the IP address is locked out for a long time. Thus slowing down any brute force attacks.
- I require Captcha (from the Brute Force section) for all logins. This makes Brute force and script kiddy attempts a thing of the past, because they need to solve a simple calculation (eg. 1+2=)
All other options are well documented in the plugin.
Well done 5 Stars from me.
Posted in wordpress | Comments Off on Secure your WordPress admin access
January 31st, 2016 admin
This is the most simple WordPress backup solution. It automatically backs up your entire WordPress installation. Files and Database.
Yes it is not backed up off-site, but it stays on the server. So it is no good for when your server gets lost. You will need to look for another solution to automate it. Perhaps you can backup the resulting file from this solution offsite with a directory syncing plugin.
You would use this to backup and have a way to restore, if you made a mistake or got hacked.
This is the plugin to install
BackUpWordPress from humanmade
https://wordpress.org/plugins/backupwordpress/
After install and activation you will need to go into Backups and add a schedule of the desired frequency. Make sure you select Backup: Both Database & Files
It then will generate a backup, which you can install into another server (same PHP and MySQL version seems to work best)
Posted in wordpress | Comments Off on Backup WordPress installation from admin panel
January 21st, 2016 admin
On new server setup
- domain container (addon domain)
- FTP user
- MySQL DB
- MySQL user
Download WordPress zip file (http://wordpress.org/download/) to web server and unzip or download locally, unzip and upload unzipped files to web server.
Go to the web site (eg. http://example.com/blog/) and follow the instructions there. FTP and MySQL details from above are needed here.
Give the resulting admin details to the WordPress operator to fill with content.
Posted in Uncategorized | Comments Off on Installing WordPress on new server
January 14th, 2016 admin
When RPiTC2 Raspberry Pi Terminal Client looses connection to the Terminal RDP server it locks up and there is no way to close the rDesktop client.
A button combination brings up a top bar with an X on the right. Clicking the X will close the rDesktop client. So it can be restarted when the connection is restored.
You can use this button combination also to close a live RDP window and leave it running to connect to it later or get to the RPiTC2 desktop to shut the local RPiTC2 OS down or reboot.
The button combination is:
Alt+Crtl+Backspace
Posted in Raspberry Pi (RPi) | Comments Off on RPiTC2 Raspberry Pi rDesktop RDP Terminal Client locked up.
July 27th, 2015 admin
These iptables rules will limit the exposure to brute force and dictionary attacks on port 22 SSH.
iptables -A INPUT -p tcp --syn --dport 22 -m connlimit --connlimit-above 2 -j DROP
iptables -A INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set
iptables -A INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 -j DROP
# And remember to save the new set of iptables:
/usr/libexec/iptables/iptables.init save
service iptables save
Posted in Linux | Comments Off on Rate limit ssh port 22 access
July 2nd, 2015 admin
NAME
rdesktop – Remote Desktop Protocol client
SYNOPSIS
rdesktop [options] server[:port]
DESCRIPTION
rdesktop is a client for Remote Desktop Protocol (RDP), used in a
number of Microsoft products including Windows NT Terminal Server,
Windows 2000 Server, Windows XP and Windows 2003 Server.
OPTIONS
-u <username>
Username for authentication on the server.
-d <domain>
Domain for authentication.
-s <shell>
Startup shell for the user – starts a specific application
instead of Explorer.
-c <directory>
The initial working directory for the user. Often used in
combination with -s to set up a fixed login environment.
-p <password>
The password to authenticate with. Note that this may have no
effect if “Always prompt for password” is enabled on the server.
WARNING: if you specify a password on the command line it may be
visible to other users when they use tools like ps. Use -p – to
make rdesktop request a password at startup (from standard
input).
-n <hostname>
Client hostname. Normally rdesktop automatically obtains the
hostname of the client.
-k <keyboard-map>
Keyboard layout to emulate. This requires a corresponding
keymap file to be installed. The standard keymaps provided with
rdesktop follow the RFC1766 naming scheme: a language code
followed by a country code if necessary – e.g. en-us, en-gb,
de, fr, sv, etc.
The default keyboard map depends on the current locale (LC_* and
LANG environment variables). If the current locale is unknown,
the default keyboard map is en-us (a US English keyboard).
The keyboard maps are file names, which means that they are case
sensitive. The standard keymaps are all in lowercase.
The keyboard maps are searched relative to the directories
$HOME/.rdesktop/keymaps, KEYMAP_PATH (specified at build time),
and $CWD/keymaps, in this order. The keyboard-map argument can
also be an absolute filename.
The special value ‘none’ can be used instead of a keyboard map.
In this case, rdesktop will guess the scancodes from the X11
event key codes using an internal mapping method. This method
only supports the basic alphanumeric keys and may not work
properly on all platforms so its use is discouraged.
-g <geometry>
Desktop geometry (WxH). If geometry is the special word
“workarea”, the geometry will be fetched from the extended
window manager hints property _NET_WORKAREA, from the root
window. The geometry can also be specified as a percentage of
the whole screen, e.g. “-g 80%”.
-f Enable fullscreen mode. This overrides the window manager and
causes the rdesktop window to fully cover the current screen.
Fullscreen mode can be toggled at any time using Ctrl-Alt-Enter.
-b Force the server to send screen updates as bitmaps rather than
using higher-level drawing operations.
-A Enable SeamlessRDP. In this mode, rdesktop creates a X11 window
for each window on the server side. This mode requires the
SeamlessRDP server side component, which is available from
http://www.cendio.com/seamlessrdp/. When using this option, you
should specify a startup shell which launches the desired
application through SeamlessRDP.
Example: rdesktop -A -s ’seamlessrdpshell notepad’.
-B Use the BackingStore of the Xserver instead of the integrated
one in rdesktop.
-e Disable encryption. This option is only needed (and will only
work) if you have a French version of NT TSE.
-E Disable encryption from client to server. This sends an
encrypted login packet, but everything after this is unencrypted
(including interactive logins).
-m Do not send mouse motion events. This saves bandwidth, although
some Windows applications may rely on receiving mouse motion.
-C Use private colourmap. This will improve colour accuracy on an
8-bit display, but rdesktop will appear in false colour when not
focused.
-D Hide window manager decorations, by using MWM hints.
-K Do not override window manager key bindings. By default
rdesktop attempts to grab all keyboard input when it is in
focus.
-S <button size>
Enable single application mode. This option can be used when
running a single, maximized application (via -s). When the
minimize button of the windows application is pressed, the
rdesktop window is minimized instead of the remote application.
The maximize/restore button is disabled. For this to work, you
must specify the correct button size, in pixels. The special
word “standard” means 18 pixels.
-T <title>
Sets the window title. The title must be specified using an
UTF-8 string.
-N Enable numlock syncronization between the Xserver and the remote
RDP session. This is useful with applications that looks at the
numlock state, but might cause problems with some Xservers like
Xvnc.
-X <windowid>
Embed rdesktop-window in another window. The windowid is
expected to be decimal or hexadecimal (prefixed by 0x).
-a <bpp>
Sets the colour depth for the connection (8, 15, 16 or 24).
More than 8 bpp are only supported when connecting to Windows XP
(up to 16 bpp) or newer. Note that the colour depth may also be
limited by the server configuration. The default value is the
depth of the root window.
-z Enable compression of the RDP datastream.
-x <experience>
Changes default bandwidth performance behaviour for RDP5. By
default only theming is enabled, and all other options are
disabled (corresponding to modem (56 Kbps)). Setting experience
to b[roadband] enables menu animations and full window dragging.
Setting experience to l[an] will also enable the desktop
wallpaper. Setting experience to m[odem] disables all (including
themes). Experience can also be a hexidecimal number containing
the flags.
-P Enable caching of bitmaps to disk (persistent bitmap caching).
This generally improves performance (especially on low bandwidth
connections) and reduces network traffic at the cost of slightly
longer startup and some disk space. (10MB for 8-bit colour,
20MB for 15/16-bit colour and 30MB for 24-bit colour sessions)
-r <device>
Enable redirection of the specified device on the client, such
that it appears on the server. Note that the allowed
redirections may be restricted by the server configuration.
Following devices are currently supported:
-r comport:<comport>=<device>,…
Redirects serial devices on your client to the server. Note that
if you need to change any settings on the serial device(s), do
so with an appropriate tool before starting rdesktop. In most
OSes you would use stty. Bidirectional/Read support requires
Windows XP or newer. In Windows 2000 it will create a port, but
it’s not seamless, most shell programs will not work with it.
-r disk:<sharename>=<path>,…
Redirects a path to the share \\tsclient\<sharename> on the
server (requires Windows XP or newer). The share name is limited
to 8 characters.
-r lptport:<lptport>=<device>,…
Redirects parallel devices on your client to the server.
Bidirectional/Read support requires Windows XP or newer. In
Windows 2000 it will create a port, but it’s not seamless, most
shell programs will not work with it.
-r printer:<printername>[=<driver>],…
Redirects a printer queue on the client to the server. The
<printername> is the name of the queue in your local system.
<driver> defaults to a simple PS-driver unless you specify one.
Keep in mind that you need a 100% match in the server
environment, or the driver will fail. The first printer on the
command line will be set as your default printer.
-r sound:[local|off|remote]
Redirects sound generated on the server to the client. “remote”
only has any effect when you connect to the console with the -0
option. (Requires Windows XP or newer).
-r lspci
Activates the lspci channel, which allows the server to
enumerate the clients PCI devices. See the file lspci-
channel.txt in the documentation for more information.
-r scard[:<Scard Name>=<Alias Name>[;<Vendor Name>][,…]]
Enables redirection of one or more smart-cards. You can provide
static name binding between linux and windows. To do this you
can use optional parameters as described: <Scard Name> – device
name in Linux/Unix enviroment, <Alias Name> – device name shown
in Windows enviroment <Vendor Name> – optional device vendor
name. For list of examples run rdesktop without parameters.
-0 Attach to the console of the server (requires Windows Server
2003 or newer).
-4 Use RDP version 4.
-5 Use RDP version 5 (default).
Posted in Raspberry Pi (RPi), Uncategorized | Comments Off on rDesktop options
April 7th, 2015 admin
Came across a weird issue.
All of a sudden I couldn’t log into a windows machine, that was properly joined into a DOMAIN with a new user name. Domain administrator worked, but that could have been a coincidence.
The error I got was:
User profile service failed the logon User profile cannot be loaded
I searched the web and came across the one solution, which talks about BAK files in the registry, but I had no BAK files.
Then later I found in one of the posts:
I discovered it was caused by a security problem on a few files/folders in the C:\Users\Default folder. I was able to easily fix it by going into the Advanced Security Settings for the C:\Users\Default folder and checking the box to “Replace all childobject permission with inheritable permissions from this object”.
This solved my problem on the workstation.
Posted in Windows | Comments Off on User profile service failed the logon User profile cannot be loaded NO BAK file