ORA-28002: the password will expire within 7 days
Cause: The user’s account is about to about to expire and the password needs
to be changed.
Action: Change the password or contact the database administrator.

Reference: Oracle Documentation
[roboshot url=”http://blogs.silicontechnix.com/?p=945″ width=”80″ newpage=”TRUE”]
Solutions: Read the rest of this entry »

 

"Don't tell anyone that I'm free"

“Don’t tell anyone that I’m free”

WinSSH

Update (10/July/2016): OpenSSH (7.2p2) Server for Windows (7.2p2 is latest version of OpenSSH)
OpenSSH (6.4p1) Server for Windows (Previous version of OpenSSH)

General Features:-

* Security, if you want to access your Windows Machines cmd shell with full security.
* Windows NT Service Support
* Full install about 12mb, installer under 8mb (Including Cygwin dependencies)
* Windows Command Prompt support for SSH Terminal
* SCP/SFTP server support (secure file transfer)
* Command-line clients included  Read the rest of this entry »

Installing MinGW/MSYS on Windows with OpenSSL support

Posted: 26th November 2013 by Babar Shafiq in Programming
Tags: , , , ,

 

Installing MinGW/MSYS
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MSYS

Install MinGW (before MSYS)

Download the MinGW Installer from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download

  1. Select Save File when prompted.
  2. Open the downloaded exe.
  3. Click Yes when Windows asks if you want to allow it.
  4. Click Next > on the Welcome screen.
  5. Select Download and Install and click Next >
  6. Read the License Agreement and click I agree
  7. Select Current to install the current MinGW package and click Next >
  8. Check the MinGW base tools and g++ compiler click Next
  9. Destination Folder should be C:\MinGW
  10. Click Next >
  11. Leave the default folder and click Install
  12. When Installation is complete, click Next >
  13. Click Finish

Install MSYS:

  1. Download MSYS
  2. Run the downloaded exe.
  3. Click Yes when Windows asks if you want to allow it.
  4. Click Yes you want to install in the Setup pop-up.
  5. Click Next in the Welcome Window.
  6. Read the License Agreement and click Yes
  7. Read the Information and click Next >
  8. The Default Destination of C:\msys\1.0 is fine, so click Next >
  9. The default folder of MinGW is fine, so click Next >
  10. Click Install
  11. A cmd shell will pop-up asking if you want to continue with the post install, enter y enter
  12. Answer y you do have MinGW Installed.
  13. Enter c:/mingw as the path where MinGW is installed.
  14. It should confirm that you have make.exe installed, press any key to continue.
  15. Click Finish you are done the installation. (It is up to you if you want to open the documents.)

OpenSSL

OpenSSL is a library for Secure Sockets Layer (SSL), Transport Layer Security (TLS) protocols, and cryptography. Some tools require openSSL, if so, here are some instructions:

I downloaded an openssl installer from: http://www.slproweb.com/products/Win32OpenSSL.html

I installed into /mingw/openssl/. I then linked the includes:

cd /mingw/include
ln -s ../openssl/include/openssl openssl

That's it.

 

Windows Vista and Windows 7 power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista and Windows 7 that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command prompt will full admin rights and permission state. Here’s a few ways and methods the elevated command prompt can be opened and ran as administrator like this :-

Read the rest of this entry »

There are times that it would be nice to mount a drive in Windows and set it to read only to avoid accidentally over writing data on that drive. After some Google searching this is what I found. This will only work on Windows XP sp2 and later and Windows 7. I have not tested it on Vista although I assume that it will work.

Step 1
Open regedit.exe
Start > Run Type regedit.exe
Click OK

Step 2
Navigate to the following registry key.  It may not exist there for you will have to create it.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies

Step 3
Next create a new DWORD called WriteProtect and give it a value of 1

Step 4
Now plug in your USB drive and you will not be able to write to the device.

To make it writable again you will have to change the WriteProtect DWORD to 0 and unplug and replug in your device.

Speed up Firefox and Conserve Memory

Posted: 4th September 2013 by Babar Shafiq in Browser, System Administration
Tags: , , , ,

 

As we all know that the Firefox browser takes a lot of our computer memory, this is of course made a slow computer performance and also affect our activity on the internet.

Why does this happen? One main cause is because Firefox itself. Although popular, it seems that Firefox is not a lightweight browser. This browser is quite fat and wasteful, because it spent a fairly high computer resource. For the first time you run it this browser (version 2) spends at least 10 mega memory in Linux, and 20 mega in Windows. The more you open tabs / web then spent the greater memory and the CPU busies all you work. Read the rest of this entry »