LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 03-08-2012, 04:30 AM   #1
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Rep: Reputation: 24
Recompile vbox kernel


I am an Ubuntu user setting an old PIII up for a friend and have installed Mepis 8.0.15. When I type ¨sudo su" and give it the password it tells me I"m not authorized. I an not seem to find the documentation to solve this and he wants windoze on vbox.

Help please.
 
Old 03-08-2012, 05:20 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by th1bill View Post
I am an Ubuntu user setting an old PIII up for a friend and have installed Mepis 8.0.15. When I type "sudo su" and give it the password it tells me I'm not authorized.
issuing "sudo su" is a double shot that doesn't make sense, AFAIS.

Use "sudo command" to gain administrative privileges for running that single command. To do that, you have to re-enter your own password.

Use "su" to start a new shell under a new username, typically root. In that case, you have to enter the root password.

Using your combination would mean you first acquire root privileges for yourself temporarily, and use these elevated privileges to issue the "su" command. As far as I can tell, you should be prompted for a password twice - first for your own (by sudo), and then root's (by su).

One of these two should be sufficient.

[X] Doc CPU
 
Old 03-08-2012, 06:35 AM   #3
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by Doc CPU View Post
Hi there,



issuing "sudo su" is a double shot that doesn't make sense, AFAIS.

Use "sudo command" to gain administrative privileges for running that single command. To do that, you have to re-enter your own password.

Use "su" to start a new shell under a new username, typically root. In that case, you have to enter the root password.

Using your combination would mean you first acquire root privileges for yourself temporarily, and use these elevated privileges to issue the "su" command. As far as I can tell, you should be prompted for a password twice - first for your own (by sudo), and then root's (by su).

One of these two should be sufficient.

[X] Doc CPU
Alright, in Ubuntu one must "sudo su" and enter the password to be the duperuser. I used the su in mepis ad ws then allowed to run "/etc/init.d/vboxdrv setup" but received the message that it failed. I did download the Debian Lenny version and it installed just fine but for the driver. I have done a reinstall with the same result.

Thanks for the assist and here's hoping you have theanswer for this issue.
 
Old 03-08-2012, 10:41 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by th1bill View Post
Alright, in Ubuntu one must "sudo su" and enter the password to be the duperuser.
no, that's not true. I've been using Ubuntu occasionally since 7.04, and regularly since 9.04, and I've never used sudo and su together. A simple sudo (plus my own user password) was all I ever needed.
Sometimes I opened a root console from the GUI menu (that's done with gksu) and was really root then. Now that I'm thinking about it, it's funny that this worked with my regular user password, not root's. Mint behaves exactly the same, by the way, which is not all that surprising. After all, Mint is a sibling of Ubuntu.

Quote:
Originally Posted by th1bill View Post
I used the su in mepis ad ws then allowed to run "/etc/init.d/vboxdrv setup" but received the message that it failed.
Why did it fail? What did the message say? Was it because of insufficient access rights? Probably not. So we shouldn't focus on access rights issues, but rather on the real problem that you didn't describe clear enough. Anyway, though you said something like "not authorized", I can't imagine it's a matter of access rights. There must be something else about it.

Quote:
Originally Posted by th1bill View Post
I did download the Debian Lenny version and it installed just fine but for the driver. I have done a reinstall with the same result.
You didn't use your distro's package manager?

[X] Doc CPU
 
Old 03-08-2012, 11:06 PM   #5
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by Doc CPU View Post
Hi there,



no, that's not true. I've been using Ubuntu occasionally since 7.04, and regularly since 9.04, and I've never used sudo and su together. A simple sudo (plus my own user password) was all I ever needed.
Sometimes I opened a root console from the GUI menu (that's done with gksu) and was really root then. Now that I'm thinking about it, it's funny that this worked with my regular user password, not root's. Mint behaves exactly the same, by the way, which is not all that surprising. After all, Mint is a sibling of Ubuntu.



Why did it fail? What did the message say? Was it because of insufficient access rights? Probably not. So we shouldn't focus on access rights issues, but rather on the real problem that you didn't describe clear enough. Anyway, though you said something like "not authorized", I can't imagine it's a matter of access rights. There must be something else about it.



You didn't use your distro's package manager?

[X] Doc CPU
Doc,
I might be to old to turn a computer on at 67 but at least I haven been stupid enough to call you a liar. I've been playing at this since the mid-seventies and I only install Mepis on units so old that Ubuntu will not go on them. You need to read what I said, in it's context and learn the lesson I learned as a non-com lifer in the Army, getting arrogant just pisses people off.

I fixed the issue without your input.
 
Old 03-09-2012, 03:35 AM   #6
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by th1bill View Post
I might be to old to turn a computer on at 67 but at least I haven been stupid enough to call you a liar.
neither have I, because telling a lie implies knowing it isn't right. Telling something wrong by mistake or due to lack of detail knowledge isn't lying.

Quote:
Originally Posted by th1bill View Post
I've been playing at this since the mid-seventies and I only install Mepis on units so old that Ubuntu will not go on them.
Granted. But you were the one who said the "sudo su" combination was necessary in Ubuntu, and that's just wrong. And based on the very uncommon usage of the two as a pair, I misjudged your knowledge as "average or below". My apologies for that. Hence the lengthy clarification in my first reply.

Quote:
Originally Posted by th1bill View Post
You need to read what I said, in it's context and learn the lesson I learned as a non-com lifer in the Army, getting arrogant just pisses people off.
I've taken into account all there was in terms of context. And I've been friendly and decent all the time.

[X] Doc CPU
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] vbox 4.0.2 - guest sabayon5.4 on win7 - mnt local gentoo from vbox sabayon? shinystuffrox Linux - Virtualization and Cloud 1 03-04-2011 01:10 AM
Kernel Panic/Crux 2.7 @VBox thosch97 Linux - Virtualization and Cloud 3 12-25-2010 02:49 AM
vbox guest additions (proprietary version) fail with --currents new kernel config Old_Fogie Slackware 7 03-20-2010 12:23 PM
Upgrading VBox 2.0.2 on Fedora 9 to VBox 2.0.6 fcquayso Linux - Newbie 2 12-10-2008 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration