Posts Tagged ‘root’

What to do if you lost the root password in Solaris 9-10

Tuesday, November 4th, 2008

If you forget the root password and you cannot log into the system, you will have to do the following:

(more…)

Change the root password for mysql

Sunday, August 17th, 2008

How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session?

Setting up mysql password is one of the essential tasks. root user is MySQL admin account. Please note that Linux / UNIX login root account for your operating system and MySQL root are different. They are separate and nothing to do with each other (indeed some admin removes root account and setup admin as mysql super user).

(more…)

A reminder about the proper way to invoke root in Ubuntu

Saturday, July 26th, 2008

I’ve been answering a lot of support threads lately wherein users have said they are unable to empty the trash can because a file in there is owned by root or they cannot get a Firefox setting change to stick (and it turns out their Firefox settings folder is owned by root).

Do you know where this comes from, why this is happening?

Bad advice. It all comes from bad advice.

The follow hopes to counter that.

(more…)

Create an ‘Open as Root’ Action in Konqueror

Tuesday, May 20th, 2008

To have a service menu which opens the selected directory as root in Konqueror, create a file, say konq_root.desktop in ~/.kde/share/apps/konqueror/servicemenus with the following content:

[Desktop Entry]
ServiceTypes=inode/directory
Actions=open_as_root

[Desktop Action open_as_root]
Name=Open as Root
Icon=konsole
Exec=kdesu konqueror %F

Now, if you right click any directory in Konqueror and go to Actions, a new menu appears, Open as Root. If you select more than one directory, Konqueror will open each of them in a new tab.