Hi guys,

If you are using fedora 17 you must have noticed that it has disabled root access by default. If you want root access all you had to do was open up a shell and type su -root and change in to root mode. But There is a way (There should be for sure :D :D ) that u can enable root mode.


Lets see how you can aquire this.

Open up a shell and change into root

su -root

now cd into /etc/pam.d directory

cd /etc/pam.d

Now we are about to change a file. Ok what did you learnt when you were child about editing files??  Yeah you have to take a backup of that file in case you are screwed :P :P

Ok folks now we are going to edit gdm-password file.

cp gdm-password gdm-password.bak

Now open that file using a text editor such as vi. In my case I used nano as it is so simple.

nano gdm-password

Now find the line
auth        required      pam_succeed_if.so user != root quiet
and comment that line like thi,

##auth        required      pam_succeed_if.so user != root quiet

Now save and exit from text editor...

Ok pal. Now it is all over. U won the battle and now you have control over root account. Feel free to login as root in your next boot... :D :D


Ubuntu normally comes with lot of drivers installed. So no one will have to install drivers manually for their home usage. But when it comes to Fedora, CentOs, RedHat, Debian etc etc wireless wont be pre installed. You will have to download Linux drivers manually and configure the system to use it. Method described under this post will work for most of Broadcom wireless devices under many Linux versions. OK Let's get started.

This post will cover the Driver installation of DELL Inspiron n5110 Laptop under CentOs 6.3 .

First download Linux driver from Brodcom.

http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_112.tar.gz

Then download and install kernel-devel package and gcc.

yum install kernel-devel gcc

Now in shell go to the hybrid-postsrc_x86_64-v5_100_82_112.tar.gz

then unzip the tar file.

tar xzf hybrid-postsrc_x86_64-v5_100_82_112.tar.gz

After that go to hybrid-postsrc_x86_64-v5_100_82_112 directory.

Now build the driver as a Linux Loadable kernel module

make clean
make

if any error occured, try

make API=WEXT
or
make API=CFG80211

Then it will create some files including wl.ko

Now it is time to load the driver

to do that,

modprobe lib80211
insmod wl.ko

Let the system scan wireless device.
This will load the driver for current session.If you want to load the driver in bootup follow the instructions given below.

cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless 


Now you'r Drivers should work properly.
By default CentOs does not support NTFS partitions. That is a huge pain because if you have iso and lot of stuff inside your NTFS partition and you won't be able to use it.

Installing some tools would do the trick for you.

Step 1
-----------

Installing  rpmforge  repository.

If you already have installed this repository you can skip this step.

If the rpmforge repo is disabled by default, insert following code
yum --enablerepo=rpmforge install fuse fuse-ntfs-3g 


Download Appropriate package

 Open new terminal window and log as root

then insert following code to install GPG key

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
 
If an error occurred like following, that means it has already completed.

Change directory to downloaded path.

Install package using

rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm
 
  
 
Step 2
-----------


Now install following packages.


yum install fuse fuse-ntfs-3g

You may also need following packages,

yum install ntfs-3g 
yum install ntfsprogs ntfsprogs-gnomevfs  

If you cannot install them that means EEPL repo has been disabled.To enable that repository enter following code.

yum --enablerepo epel install ntfs-3g 

Now you can browse your NTFS partition using file browser. But if you want to mount a partition into a folder you can follow given instructions.

Step 3 (Mounting NTFS Partition)
---------------------------------------------------------------------
Lets say your ntfs partition is /dev/sda3
Create a mount point

Ex: /my/hdd

Then edit /etc/fstab

add following line to fstab

#To read only access
/dev/sda3       /my/hdd  ntfs-3g  ro,umask=0222,defaults 0 0 
 
#To read and write access
/dev/sda3       /my/hdd   ntfs-3g  rw,umask=0000,defaults 0 0 

Save the file.


Now mount the file system.


mount /mymnt/win 

Ok you are done now. :D :D

  


Ok guys,

In any OS there are user management system installed. And by default ur user account has administrator privilages (Yeah you are the MAN). If you are a Windows user have you experience that somtimes when you are executing some programs it pops up a message saying that the program require administrator privilages, Or if you are a linux guy when you try to access some sort of application have you provided root account password? But if you have administrator rights and why still these OS asks for passwords and all??

Answer is that both windows and linux disable the administrator/root account.

Ok now lets get into the topic. Lets say that you want to enable root/administrator account and be the 'REAL' man... following steps explains how you can be the real man in Debian Linux. In a later post I'll add how you can enable root access in Ubuntu, CentOs and how you can enable Administrator account in windows...


Step one :

Log in to your user account.

Step two :

Open up terminal. ( Applications --> Accessories --> Terminal )
type in following shell commands

su root   //( it will ask you for the root password. This is setup at the installation of debian )
gedit      //This will open graphical text editor which we will use to edit some configurations.


Step three :

Open  up the file /etc/pam.d/gdm3

Then comment the fifth line. It will look like following after comment.

#auth   required        pam_succeed_if.so user != root quiet_success

Now save the file

Then enter following shell command

reboot


Congratulations!!!

You have successfully enabled the root account ......
Hello guys.

Today I'm going to describe how you can successfully install Apache JMeter on your Linux system.

Before install make sure you have installed Java 1.5 or newer version in your System.

Then you will need to download Apache JMeter.
http://jmeter.apache.org/download_jmeter.cgi

Download the zip file of the jmeter. (In my case I will be downloading apache-jmeter-2.7.zip)

Now open the terminal and follow given instructions.

type 'su' (without quoats. This will change your user mood into root)
Provide the root password.

Ok now you are the man..
Can you remember where you saved apache-jmeter-2.7.zip
 If you don't make sure to check where you saved that file.

now type following code

cd /var/www/html

Now you have to copy apache-jmeter-2.7.zip to this directory.For that you need to know where you saved the zip file.

cp PATHOFZIPFILE ./
(in my case I did like

cp /home/djclans/Downloads/apache-jmeter-2.7.zip ./

Note :In terminal, codes are case sensitive. And there is a space between .....jmeter-2.7.zip and ./)

Next you have to unzip the archive. In order to do that you need unzip installed in your system. If you don't just type yum install unzip and it will be installed.

To unzip the archive,

unzip apache-jmeter-2.7.zip

After completing the unzip process go inside that folder and you will find bin
folder. Go inside that too.

cd apache-jmeter-2.7/bin

Now everything is ready........

Ok now lets fire it up...

sh jmeter

few seconds later GUI will pop up.

And now we are done..

See you later guys.....