Feb
03
2010
0

Create multiple email accounts Plesk 8

After much hunting around and reading through the Plesk Administrator Guide I finally found an easy way for creating multiple e-mail accounts in batch!  This is not a MySQL hook or database related, but stems from the logic of wanting to create multiple accounts at once.

To create an e-mail account in Plesk, first login to your server via SSH.

Execute the following:

/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false

If you want to run a batch, create a script:

1
2
3
4
5
6
7
8
9
#/bin/bash

/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false

/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false

/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false

/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false
Social Spin:
  • Digg
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • Fark
Written by admin in: Linux |
Dec
02
2009
0

Facebook Chat is not Secure

Armed to the teeth with Backtrack 4, any reasonably intelligent individual can execute a MITM or Man-In-The-Middle by packet sniffing and injecting packets into the stream against Facebook.

This is of concern when on public wireless networks, or public local area networks.

Read the documentation here.
Protect yourself by running a desktop client like Adium, and encrypting your chats.

In Adium, go to File - Facebook - Edit account - Privacy tab then change Encryption to “Encrypt Chats Automatically”

Sadly, as this is a step forward it’s still not a solution.  If and when you have Facebook open, either in a current session or by starting one your chat’s will be populated with your Adium activity – thus reversing the “encryption”

So, to prevent accidently sending insecure information back into your browser, disable Facebook Chat!

Log into your account and click Chat - Options - Offline

This is a step forward, but the fact remains that most will use the Facebook website for its convenience (no desktop client required) and accessibility – and consequently be vulnerable to attack.  Never ever ever send passwords, credit card numbers, social security numbers, or anything that you wouldn’t want a stranger in the street to find in your trash over Facebook chat.  You have been warned.

Social Spin:
  • Digg
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • Fark
Written by admin in: Interest |
Nov
30
2009
0

Reset “lost” Administrator Password Mac OS X

Lost your administrator password?  Working with a client who has lost their administrator password and need to install applications and updates? Here is a very simple workaround to resetting the password on any account in OS X.

So what do we do?

Basically start up your Mac in single user mode, deleting the local profile cache for the creation of a new user.  Upon restart, you will be prompted to setup a new administrator account.   This process of creating this account is the same as after a fresh install.  Once you have logged in under the new account, open System Preferences>Accounts and change the password of your original account.  No data is lost, and nothing is deleted.  Logout/Login with your new password and then delete the temporary admin account.

Presto – Password recovered.

1.  Reboot in Single User Mode – hold Apple Key(command)-S after you hear the chime

2.  Run the following:

1
2
3
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now

**Note**
In terms of security, this is why restriction of physical access to a machine is critical.  Passwords are not safe, and are not to be conceived as “safe”.  Strong passwords are irrelevant if you do not limit physical access to machines.  Play safe.

Social Spin:
  • Digg
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • Fark
Written by admin in: Linux, Sample Work |