Re: FAQ: Root Password
I believe it was the editor, and I definitely wasn't redirecting a sudo. It was a read-only or write-protected error, I forget which. Working on gnome I was definitely out of my element, though, so perhaps something else was amiss. The old method I had always used for enabling root wasn't working. I thought maybe it was gnome-specific since I had never seen Kubuntu do that, but when I later installed Kubuntu Karmic I also had problems with my old enable-root method, and had to devise a new one. Though I don't remember all the details there either - that was way back with one of the alpha versions of Karmic. I just assumed they had changed something in Karmic, updated my enableroot script, and moved on. But I agree that I now can get no editors to behave that way, so I'm somewhat confused. Then again, the only systems I'm trying it on already have root enabled or aren't running Ubuntu.
Yes that's what I meant - I prefer to open a root shell and rarely find the one-off sudo commands useful. The only exception to that are aliases that I use, in which sudo enables me to use the same alias as both root and user.
I realize everything can be done on Ubuntu as is. I just don't find much usefulness to the roundabout approach. I suppose it stops people from logging into their desktop as root. But in other areas I believe it weakens security and is a nuisance. Just my view of it all.
Originally posted by kubicle
That's where the 'sudo -i' comes in. It will open a root shell where you can enter commands as root without the need to sudo every command.
I realize everything can be done on Ubuntu as is. I just don't find much usefulness to the roundabout approach. I suppose it stops people from logging into their desktop as root. But in other areas I believe it weakens security and is a nuisance. Just my view of it all.
Comment