/root/ Permissions denied visual

Asked by williamKDE

Newbie--2 days old

/root/ is giving me a problem can I reformat? like in winxp

I can use sudo apt-get install
this is about as far as I get
I tried sudoers
I can't copy, cut, paste.

splash screens and themes not working

KDE-Look.org I download them to desktop then use Xarchivemanager to uncommpress them I searched for the place to put them under the usr(lot of typing here)Themes no luck.

I like the look of KDE but it is killing me.

My question is how do i get admin control over my KDE environment?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kdebase Edit question
Assignee:
No assignee Edit question
Solved by:
SageMassa
Solved:
Last query:
Last reply:
Revision history for this message
williamKDE (williamkbunch) said :
#1

I have no permissions at all I downloaded Kubuntu and installed it let it set up everything. everything is in default.

I think my system can't run it. I am running it on a Dell Optiplex GX260 service tag 1c3bp21 2.0GHz P4 I upgraded the ram to 512 333MHz I never use swap and my load is 0.84 is this good?

also how do I remove Grub? I noticed no uninstall feature in linux?

What distribution do you think would work better for me?

Revision history for this message
SageMassa (jedd.bissegger) said :
#2

well lets start with some basics.

from a terminal type
sudo apt-get update

This should prompt you for a password (same as what you use to log in)
does this scroll activity for a time or simply come back with permissions errors?

Revision history for this message
williamKDE (williamkbunch) said :
#3

Yes it simply states denied I don't have permissions

sudo is uptodate sd has most uptodate version

Revision history for this message
Best SageMassa (jedd.bissegger) said :
#4

When you installed ubuntu did you give it a different username than what you are using now?
Or did you delete and recreate the username at anypoint?

Lets get your root access back

How-To: Recover root password under linux with single user mode

It happens sometime that you can't remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user mode.
This tutorial will show how to boot Linux in single user mode when using GRUB and finally how to change root password.

During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single user mode. Under such a level, you directly get a root prompt. From there, changing root password is a piece of cake.
1. Entering runlevel 1

Some Linux distribution, such as Ubuntu for instance, offer a specific boot menu entry where it is stated "Recovery Mode" or "Single-User Mode". If this is your case, selecting this menu entry will boot your machine into single user mode, you can carry on with the next part. If not, you might want to read this part.

Using GRUB, you can manually edit the proposed menu entry at boot time. To do so, when GRUB is presenting the menu list (you might need to press ESC first), follow those instructions:

    * use the arrows to select the boot entry you want to modify.
    * press e to edit the entry
    * use the arrows to go to kernel line
    * press e to edit this entry
    * at the end of the line add the word single
    * press ESC to go back to the parent menu
    * press b to boot this kernel

The kernel should be booting as usual (except for the graphical splash screen you might be used to), and you will finally get a root prompt (sh#).

Here we are, we have gained root access to the filesystem, let's finally change the password.
2. Changing root password

As root, changing password does not ask for your old password, therefore running the command:

# passwd

will prompt you for your new password and will ask you to confirm it to make sure there is no typo.

That's it, you can now reboot your box and gain root access again

Once you are back in your system from a terminal type
su and provide the password you updated.
now you are root and you can add your user to the sudo group
adduser <name> admin
This appends the admin group to the user's supplementary group list. They will now have sudo access.

Revision history for this message
williamKDE (williamkbunch) said :
#5

Thanks SageMassa, that solved my question.