sudo: /var/lib/sudo/user1 writable by non-owner (040777), should be mode 0700
Posted by lforlinux in Uncategorized on March 29, 2012
Here is the solution for this problem. I couldn’t run some of commands in my ubuntu machine as normal user. I supposed to use sudo for those commands like ifconfig, scp etc. This is due to the problem with $PATH environment variable.
Do the following steps
1. edit .bashrc file
$ cd ~
$ vi .bashrc
2. Go to the end of file, append the following line and save it
PATH=$PATH:/sbin
3. Reload the .bashrc file with reboot the machine
$ source .bashrc
Thats all
Now you are out of this problem.
Mobile Portability Number (MNP)
Posted by lforlinux in Uncategorized on November 25, 2010
The dream becomes true, the Mobile Portability Number launched in india.
Really its a great facility to the people, also the people gets lots benefits because of the competition between the network service providers.
MNP launched first at Rohtak in Haryana
we can use this service by the cost of
19. The amount is fixed by the TRAI.
Procedure:
Send an sms (PORTMobile Number) to 1900 from the number which you want to port
Then we will receive a Unique Porting Code(UPC) by sms from current service provider
We should give the prescribed application form to the new service provider with UPC as reference code.
Porting to be completed within seven days.
Once we changed the service provider then again we can not change the service provider until 90 days.
NOTE: The balance will not be carried forward when the service provider transferred to the next provider.
How to install grub2 in Ubuntu
Posted by lforlinux in Uncategorized on November 25, 2010
hi buddies,
If we install the windows operating system after we install the ubuntu operating system,
the windows will not show the linux in grub menu even the ubuntu os installed.
For this we no need to reinstall the ubuntu os, if we install grub it will solve the problem.
Here i provided the procedure to install the grub2 in ubuntu.
step1: Insert the ubuntu live cd which has grub 2 (i.e ubuntu 9.04 and latest versions)
step2: choose the live session
step3: open the terminal
step4: Enter the following command
ubuntu@ubuntu:~$ sudo fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 38912 271602922+ f W95 Ext’d (LBA)
/dev/sda3 5100 11473 51199123+ 7 HPFS/NTFS
/dev/sda4 33666 36276 20972826 83 Linux
/dev/sda5 * 36277 37551 10241406 83 Linux
/dev/sda6 38827 38912 690763+ 82 Linux swap / Solaris
step5: Then create two directry
ubuntu@ubuntu:~$ mkdir /mnt/dev
ubuntu@ubuntu:~$ mkdir /mnt/proc
step6: Mount the following devices
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt // * indicates boot sector /dev/sda5 already have grub2
ubuntu@ubuntu:~$ sudo mount –bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount –bind /dev /mnt/proc
step7: switch to the super user
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/#
step8: Install the grub
root@ubuntu:/# grub-install /dev/sda
Installation finished. No error reported.
Then restart the system, eject the cd.
Apply for LLR or Driving Licence through Online in Tamilnadu
Posted by lforlinux in Uncategorized on September 17, 2010
Tamilnudu government announced the people who wants to get the driving license or LLR can apply through the Online.
This would enable the license seekers to save time spent on visiting Regional Transport Offices and waiting there for long hours. Since an acknowledgment was given online, those registering for LLR could note down the number and approach the nearest RTOs for getting LLRs after passing the initial tests online and payment of requisite fees.
Another advantage was the registrant could choose the date and time on which he could visit the RTO for initial tests to get the LLR.
click here Tamil Nadu Driving Licence
Solution for ubiquity crashed with OSError in chUser Name_cleanup()
Posted by lforlinux in Uncategorized on August 17, 2009
Hai, friends I like this name ubiquity (Ubi kutty)
But this makes angry to us when ubuntu installation. Because sometimes If you trying to install ubuntu when the installation complete nearer to 95%, It says “ubiquity crashed with OSError in chUser Name_cleanup()” and the installation will canceled.
For this problem,
1.Boot from the Live CD
2.Open the Gnome-terminal
3.Then execute this command
$ ubiquity –no-migration-assistant
4.Then the installation steps window will open then You can continue regular Ubuntu installation steps
then the OS will installed.
This ubiquity is the frontend for the installation. This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation(FSF)
To install the adobe AIR applications in ubuntu…
Posted by lforlinux in Uncategorized on April 12, 2009
1.To download the adobe AIR installer in .bin format from
http://get.adobe.com/air/otherversions/
2.To install the binary file
$ sudo chmod +x AdobeAIRInstaller.bin
$ ./AdobeAIRInstaller.bin
3.Then download adobe air applications from
http://www.makeuseof.com/tag/8-useful-adobe-air- applications-that-work-in-linux/
http://www.hongkiat.com/blog/60-useful-adobe-air-applications-you-should-know/
http://www.sizlopedia.com/2008/03/08/10-most-useful-adobe-air-applications/
4.Then install those applications through the adobe AIR installer… These applications are very nice to see…. Try it…
Ex: some AIR applications are…
1.adobe_media_player.air
2.AgileAgenda.air
3.aol_top_100.air
4.MyStylez.air
5.RichFLV.air
6.TimeTracker.air
7.twhirl.air
To rename the ext2, ext3 and ext4 partitions in ubuntu….
Posted by lforlinux in Uncategorized on April 12, 2009
1.To list the partitions
$ sudo fdisk -l
2.To list the mounted partitions…
$ mount
3.First we have to install ntfsprogs
$ sudo apt-get install e2fsprogs (or)
Install the packages Ex: e2fsprogs_1.41.3-1ubuntu1_i386.deb
4.Then we should unmount the partition which we want to rename…
$ sudo umount <device>
Ex: $ sudo umount /dev/sda12
5.Then to check the current label name ..
$ sudo e2label <device>
Ex: $ sudo e2label /dev/sda12
6.To rename the ntfs partition
$ sudo e2label <device> <newlabel>
Ex: $ sudo e2label /dev/sda12 BACK UP
To rename the NTFS partitions in ubuntu….
Posted by lforlinux in Uncategorized on April 12, 2009
1.To list the partitions
$ sudo fdisk -l
2.To list the mounted partitions…
$ mount
3.First we have to install ntfsprogs
$ sudo apt-get install ntfsprogs (or)
Install the packages Ex: libntfs10_2.0.0-1_i386.deb and ntfsprogs_2.0.0-1_i386.deb
4.Then we should unmount the partition which we want to rename…
$ sudo umount <device>
Ex: $ sudo umount /dev/sda4
5.Then to check the current label name ..
$ sudo ntfslabel <device>
Ex: $ sudo ntfslabel /dev/sda4
6.To rename the ntfs partition
$ sudo ntfslabel <device> <newlabel>
Ex: $ sudo ntfslabel /dev/sda4 BACK UP