login as superuser

Asked by James Dively

i'm new in ubuntu and linux..
i try to kepp the computer up-to-date, but when I run the update manger en error occured
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
I open the therminal but another error occured, th system says that I need to be su to run the command
someone could help me
thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kdebase Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hanusz leszek (leszek-skynet) said :
#1

Thanks for your question.
To login as superuser is absolutely not recommended.
You can do all administrative work with any user which is in the admin group (the first user created is in this group).

Why do you want to login as superuser ?

Revision history for this message
Ralph Janke (txwikinger) said :
#2

Here are some more detailed explanations about sudo and why not to login as superuser https://help.ubuntu.com/community/RootSudo.

I hope this clarifies things.

Revision history for this message
octosys (gerard-lenz) said :
#3

Hello,
I am new to Linux.
I am the admin. I logged in.
When I want to change the "menu.lst", he says that I have no root rights.
I can not log in as root with password on the normal login screen.
The only thing I want to do is to change my menu.lst.
Thanks

Revision history for this message
Jim Hutchinson (jphutch) said :
#4

Octosys. You should always open up your own question ticket. Your question will often go unanswered if you don't. Use the "got a question of your own" link at the bottom. However, to answer your question you need to use "sudo" or "gksudo". Ralph's link above will tell you more about it. Open a terminal and type

gksudo gedit /boot/grub/menu.lst

Enter your password (nothing shows as you type) and then you will have the rights needed to edit. This is the secure method. Never log in as root (this account is disabled by default). It's much too easy to mess things up.

Revision history for this message
lo svizzzero (guerrino-svizzero) said :
#5

i'm new in ubuntu and linux..
i try to kepp the computer up-to-date, but when I run the update manger en error occured
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
I open the therminal but another error occured, th system says that I need to be su to run the command
someone could help me
thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please open a terminal and type:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.

Then to dress pending packages please type:

sudo apt-get install -f

Then retry to update and/or to install desired package

Hope this helps

Revision history for this message
krishnaji111 (krishnaji111) said :
#7

i was trying to open a U-tube page, the page opened but the default streaming video didn't start.
i downloaded adobe flash player to solve this problem, and i think ubuntu installed it. i also checked the javascript and it was on. but the video didnt start at all. i wanted to further check whether the flash player needs to be installed but found though i have logged in as the only user ( am I not the su ?), it still said i have login as super user to install, etc.

Can you help with this problem?

Provide an answer of your own, or ask James Dively for more information if necessary.

To post a message you must log in.