I don't want to type sudo and my password everytime.I think it is really annoying.Is there any command or option which will consider you root user when you open terminal,everytime When you open terminal.
I am really against root being used as a default login. This is a really really really BAD idea.
However, in cases where I'm working on something that requires a root terminal session with lots of
You can create a root session using the
Again, running as root at all times is a really bad idea. Root allows for more access than a standard user needs and many of the features that make Linux more secure are no longer working for you. One example is running a web browser as root is insane.
Go to the end of the file and type:
Press Ctrl+X to exit, and press Y to save the changes.
Now open System Settings->Keyboard in that go to the Shortcut tab.
Launch terminal, press Space and Backspace; it will disable it.
Now go to Custom Shortcuts and click the plus (+) button at the bottom.
Give the name as terminal and the command as
Then just go to some other location and come back to Custom Shortcuts.
Click terminal, press Space and now press Ctrl+Alt+T.
Close the window.
Now whenever you open the terminal through Ctrl+Alt+T, it will open as root.