Category: Computer Tips
Firefox: Flash installed but does not show up
For some strange reason the flash folder in C:\WINDOWS\system32\Macromed was locked by explorer.exe. Once the Adobe Flash Player is installed in this folder, the locking prevented it from being copied into both Firefox’s plug in folder in C:\Program Files\Mozilla Firefox\plugins and Iexplore’s plugin folder in C:\Program Files\Internet Explorer\PLUGINS, such that from the plugin point of […]
When an application can only run as administrator in windows 7
It is possible that a dll/ocx was not properly registered. Try this: regsvr32.exe COMDLG32.OCX regsvr32.exe YourOCX.OCX regsvr32.exe Yourdll.dll
Firefox home page hijacker
Check C:\Documents and Settings\Your User\Application Data\Mozilla\Firefox\Profiles\Your Profile.default\user.js Hijacked page may appear there.
a new rootkit?
Found a virus disguise itself in a windows/installer/{2a19006b-67c6-b3d2-bc82-88e444232c7b} and load into srvchost.exe as n and @. Don not know what it is. Killed.
watch what is slowing down your linux
ps aux | awk ‘\$8 ~ /D/ { print \$0 }’ watch -n 1 “(ps aux | awk ‘\$8 ~ /D/ { print \$0 }’)”
Simple guide for executable chroot jail
1. Install Jailkit, CentOS rpm available in rpmforge repo. 2. mkdir -p # to define your jail root 3. jk_init -v -j ssh # to allow ssh in your jail 4. jk_jailuser -j # to move the user into the jail 5. Edit /etc/jailkit/jk_init.ini and /etc/jailkit/jk_socketd.ini # to match your system 6. jk_cp -v -f […]
A painful lesson of a linux quibble
It has been longly debated that there is not a liable way to do undelete on linux file system. Only for this, extundelete has provided a workaround. However, mainly the need of undelete comes from the over-powerful command “rm”. Suppose any user committed “rm -rf /*” or “cd /; rm -rf *”, the command will […]
[Samba] how to list computers that are joined to the domain?
This will get you workstation a domain trust accounts: pdbedit -L -w | grep ‘\[[WI]’
Using OpenVPN to export NFS in private network
1. Follow instruction in http://fedoraproject.org/wiki/Openvpn to set up OpenVPN server on the gateway node of your private network, and OpenVPN client on your external nodes that need to access the NFS server inside the private network behind your OpenVPN server node; 2. Start the OpenVPN server and clients, in each client nodes, add custom route […]
Enable Java in your Firefox in RHEL4
Once you have your Java installed, in /usr/java/jre1.6.0_29* cd /usr/lib64/firefox-3.*/plugins ln -s /usr/java/jre1.6.0*/lib/amd64/libnpjp2.so libnpjp2.so Then restarted Firefox and once loaded, java will be working in your browser!