Wrong permissions on configuration file, should not be world writable!

If you install phpMyAdmin on your web host and all you see when you access www.yoursite.com/phpmyadmin (or whatever) is “Wrong permissions on configuration file, should not be world writable!” you are supposed to just change the permissions of /phpmyadmin/config.inc.php to not be world writable (i.e. chmod 755 config.inc.php, or by using your FTP client).

sudo: /etc/sudoers is mode 0777, should be 0440 Solved Problem

Today I was getting a Problem in ubuntu that is

sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting

I solved it in following way :-
I have put Ubuntu onto a LiveCD, boot into the LiveCD, mounted my Ubuntu Partition on the Hard Drive (Open a file browser, like Nautilus, and click your Ubuntu Partition; or click Places->"xxGB Partition/Your Ubuntu Partition").

Then, opened a terminal within the LiveCD session and type these two commands:

cd /media//etc
sudo chmod 0440 sudoers
Thats it :)

Alpha Pager for User_listing

In this tutorial, i will telll you how to add A-Z alphabetical searchable users with the help of views
This tutorial is just for drupal 6.x
The Steps for this tutorials are as follows :-

1. First, create a new page view and set your path to “directory”
Assuming you want your pager to be based on the nodes title, add in an argument: “Node: Title”
Set title equal to: “Directory: %1”
Action to take if argument is not present: “Display all values”
Check “Glossary Mode”
Set character limit to “1”
Case: “upper case”
Case in path: “lower case”
Save and update

Install Redmine on Ubuntu

Install redmine on ubuntu

sudo add-apt-repository ppa:ondrej/redmine

sudo apt-get update

sudo apt-get install redmine redmine-mysql
 

Then, create this for /etc/init/redmine.conf
Paste the following code in it .


# Redmine

description  "Redmine" 

start on runlevel [2345]
stop on runlevel [!2345]

expect daemon
exec ruby /usr/share/redmine/script/server webrick -e production -b 0.0.0.0 -d

sudo service redmine start

Then Click Here
You can stop it via

sudo service redmine stop

Pages

Subscribe to Davinder Kumar RSS