Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Ubuntu User Plivileges help.  (Read 10612 times)

0 Members and 1 Guest are viewing this topic.

Cityscape

    Topic Starter


    Adviser

  • Running Debian 8, Linux Mint and Windows 10.
  • Thanked: 15
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Linux variant
Ubuntu User Plivileges help.
« on: July 16, 2009, 05:00:14 PM »
Hi guys,

I have Ubuntu 9.04 setup in a VM. It works fine but I can't do lots of things because I don't have Admin privileges. Attached is a message that I get when trying to install VM addons.

Can someone tell me how to get full privileges of my system?
I need to know because i'll be making Ubuntu my main OS in a few weeks.

[attachment deleted by admin]

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Ubuntu User Plivileges help.
« Reply #1 on: July 16, 2009, 07:25:49 PM »
hmm, can't remember the exact command,

think you'd need to run as root.... I <think> the command is su root or sudo root <program name>...
I was trying to dereference Null Pointers before it was cool.

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Ubuntu User Plivileges help.
« Reply #2 on: July 17, 2009, 07:00:42 AM »
You mopst emphatically do NOT want to give your normal user account "admin privileges".  Install software as the root user if necessary.  sudo is the best command for this job.  Alternatively, log into your desktop as root to install the software, then log out again.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Ubuntu User Plivileges help.
« Reply #3 on: July 17, 2009, 08:49:00 AM »
hey, neat, I actually kinda know something about Linux.

 I'm as surprised as anyone.
I was trying to dereference Null Pointers before it was cool.

Cityscape

    Topic Starter


    Adviser

  • Running Debian 8, Linux Mint and Windows 10.
  • Thanked: 15
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #4 on: July 17, 2009, 10:30:06 AM »
You mopst emphatically do NOT want to give your normal user account "admin privileges".
Actually I did want to. Is there a reason not to?

I'm not installing via Terminal so I don't think I can type root or sudo...
So how do i log into the desktop as root?

jerryheavyarms



    Apprentice

  • http://www.youtube.com/theoldpath
  • Thanked: 13
    • Bible insights by THE MOST SENSIBLE PREACHER OF OUR TIME.
  • Experience: Beginner
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #5 on: July 17, 2009, 10:47:17 AM »
Using sudo is a means of protecting or securing your ubuntu station from config errors.
But I  believe this error you're encountering doesn't have anything to do with your Ubuntu installation on VM. I think it has something to do with your host OS. Are you admin on your host OS?
"Most complex problems do have a solution. It is only that we don't attempt to think. So let's apply: Dont just do something, sit there."
--Kuya Daniel Razon

Everything in this world will remind us of God, even every drop of a leaf from its stem will remind us of His glory. -Bro.Eli Soriano

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Ubuntu User Plivileges help.
« Reply #6 on: July 17, 2009, 12:02:55 PM »
that VM additions program is running inside the emulated PC and this is subject to the permissions of the emulated PC...
I was trying to dereference Null Pointers before it was cool.

Cityscape

    Topic Starter


    Adviser

  • Running Debian 8, Linux Mint and Windows 10.
  • Thanked: 15
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #7 on: July 17, 2009, 04:02:00 PM »
It has nothing to do with the host.
It's Ubuntu I need privileges for.

jerryheavyarms



    Apprentice

  • http://www.youtube.com/theoldpath
  • Thanked: 13
    • Bible insights by THE MOST SENSIBLE PREACHER OF OUR TIME.
  • Experience: Beginner
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #8 on: July 17, 2009, 04:13:34 PM »
"Most complex problems do have a solution. It is only that we don't attempt to think. So let's apply: Dont just do something, sit there."
--Kuya Daniel Razon

Everything in this world will remind us of God, even every drop of a leaf from its stem will remind us of His glory. -Bro.Eli Soriano

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Ubuntu User Plivileges help.
« Reply #9 on: July 20, 2009, 06:25:41 AM »
Actually I did want to. Is there a reason not to?

Let me rephrase: unless you want to undermine the security (including virus resistance) of your system and you know the full implications of doing this, you should not give your normal user full privileges.  There are a number of different groups you can add your user to, to increase the privileges of the user (wheel, root - the group, not the user, etc.) but it would be most straightforward for a user starting out to log on as root purely for the install and then log back out again.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

jerryheavyarms



    Apprentice

  • http://www.youtube.com/theoldpath
  • Thanked: 13
    • Bible insights by THE MOST SENSIBLE PREACHER OF OUR TIME.
  • Experience: Beginner
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #10 on: July 20, 2009, 06:38:48 AM »
I'm not installing via Terminal so I don't think I can type root or sudo...
So how do i log into the desktop as root?

How are you installing this? If its through Synaptics, it will ask for your root password. The same with Debian package installer and Add/Remove from Applications menu..
"Most complex problems do have a solution. It is only that we don't attempt to think. So let's apply: Dont just do something, sit there."
--Kuya Daniel Razon

Everything in this world will remind us of God, even every drop of a leaf from its stem will remind us of His glory. -Bro.Eli Soriano

Cityscape

    Topic Starter


    Adviser

  • Running Debian 8, Linux Mint and Windows 10.
  • Thanked: 15
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #11 on: July 20, 2009, 12:58:17 PM »
How are you installing this?
By running the executable install file.
but it would be most straightforward for a user starting out to log on as root purely for the install and then log back out again.
Okay, so how would i log in as the root?

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Ubuntu User Plivileges help.
« Reply #12 on: July 20, 2009, 03:49:20 PM »
I can't tell whether your first screenshot is coming from the host or the guest.  I would think the host, because Linux would not refer to the superuser as "administrator" anyway.  Is your host logged in as an administrator?

As for the guest O/S, to log in as root, you would normally supply the username "root" and the password set for the root user.  If no password is yet set for root (common with Ubuntu installs) you can set it using sudo: sudo passwd -u root.

Additions tutorial here: http://www.dedoimedo.com/computers/virtualbox-guest-addons.html (Linux section is down the page).
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

jerryheavyarms



    Apprentice

  • http://www.youtube.com/theoldpath
  • Thanked: 13
    • Bible insights by THE MOST SENSIBLE PREACHER OF OUR TIME.
  • Experience: Beginner
  • OS: Linux variant
Re: Ubuntu User Plivileges help.
« Reply #13 on: July 21, 2009, 05:42:57 AM »
By running the executable install file.
Even using the executable file, it will still ask for your password.
If I were you (and I hope Rob is will agree with me ;D), just give your user administrator rights. Then have it in root group. Anyways, you could read the links that we provided for additional info..
goodluck, :)
"Most complex problems do have a solution. It is only that we don't attempt to think. So let's apply: Dont just do something, sit there."
--Kuya Daniel Razon

Everything in this world will remind us of God, even every drop of a leaf from its stem will remind us of His glory. -Bro.Eli Soriano

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Ubuntu User Plivileges help.
« Reply #14 on: July 21, 2009, 10:16:42 AM »
If I were you (and I hope Rob is will agree with me ;D), just give your user administrator rights.

Which user?  Which rights?  Make the normal Linux user a member of the root group?  Not a good idea.

Still, if this is a disposible system that's going to be binned after a few weeks and not exposed to any internet threats, what the heck.  But it'd just be sloppy.   :P
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos