Tag Archive | "premissions"

Resetting your mysql root password

Thursday, August 13, 2009

0 Comments

First of all we need to stop mysql Create a mysql table dump to reset the password Now we need to start mysql in safe mode and import the mysql table dump Finally we need to kill mysql and start it in normal mode Your password should now be reset to the one you specified [...]

Continue reading...

Nano write check before editing

Wednesday, July 8, 2009

0 Comments

Have you ever been using nano to edit a long configuration file and when you've just finished you go to save and you get "Error writing /dir/somefile: Permission denied" as you've forgotten to use sudo or switch user if so this tutorial might just be your solution. What this does is it runs a script [...]

Continue reading...