LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-24-2009, 02:41 PM   #1
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Rep: Reputation: 0
terminal will not accept anything


"sudo: can't set runas group vector: Operation not permitted" This is all I get no matter what I put in the terminal. I wanted to get the DVD media player working and found the stuff to download, but every time I type in or copy anything I get the above. I figure something must be missing somewhere. Any ideas would be appreciated.
 
Old 06-24-2009, 03:19 PM   #2
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
To use the sudo command the user has to be added to the /etc/sudoers file.This file needs to be edited as root user.Please tell us the distro that you are using,as there might be differing ways of doing this depending on the distro.
 
Old 06-24-2009, 04:06 PM   #3
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Original Poster
Rep: Reputation: 0
I'm using Ubuntu 8.10
 
Old 06-24-2009, 05:29 PM   #4
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Original Poster
Rep: Reputation: 0
Help needed with setting up Sudo?

To use the sudo command the user has to be added to the /etc/sudoers file.This file needs to be edited as root user.Please tell us the distro that you are using,as there might be differing ways of doing this depending on the distro.

I'm using Ubuntu 8.10, so can anyone tell me how to add the user(that's me) to the sudoers file. Can you just tell me what to type into the terminal box to get me up and running?
 
Old 06-24-2009, 07:01 PM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
You should have set things up while installing Ubuntu,meaning you've been prompted for username etc.
Code:
sudo command
...should work,but if you're somehow logged in by some other username which is not ( as already said ) in etc/sudoers then things won't work.So you have to edit that file and add yourself to it by adding a code line in it.Example how it should look is;
Code:
brookshire ALL=(ALL) ALL
With this code and by using su you'll have permanent root privileges.

To edit etc/sudoers file use command;
Code:
visudo /etc/sudoers
Also
Code:
man sudo
should help you out.
 
Old 06-24-2009, 09:08 PM   #6
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Original Poster
Rep: Reputation: 0
guest@brookshire-laptop:~$ sudo command
sudo: can't set runas group vector: Operation not permitted
guest@brookshire-laptop:~$ visudo /etc/sudoers
usage: visudo [-c] [-q] [-s] [-V] [-f sudoers]
guest@brookshire-laptop:~$ brookshire ALL=(ALL) ALL
bash: syntax error near unexpected token `('
guest@brookshire-laptop:~$

I quit using DOS around 1992. Would it help me to find the old manual? What does guest@brookshire mean? I'm not a guest on my own laptop, but the stupid box must think I am, etc.
 
Old 06-25-2009, 05:57 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Have you created a user when you were installing Ubuntu? If you did,login with that username and password or have you done that but terminal keeps sayin' guest.How many users you have on your system,do you know?
 
Old 06-25-2009, 12:04 PM   #8
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, Alan. I noticed when I closed my laptop last night that I was not using what I thought I was using. I switched the stupid box, or should that be stupid me, back to the proper login when I closed down, so I'm hoping things will work now. I'm on my windows desktop now, so it will be a little while. I'll get back when I crank up my laptop. It's tough being a Newbie.
 
Old 06-25-2009, 09:04 PM   #9
brookshire
LQ Newbie
 
Registered: Jun 2009
Location: Banging in Biloxi
Posts: 6

Original Poster
Rep: Reputation: 0
The box started working without any problem when I switched from guest back to myself. Everything became fairly simple once I got myself in charge and took over from the guest. I have no idea how guest got in there to begin with, but now things are going smoothly. Now, I'm trying to figure out how to get my wireless mouse working properly. The pointer is there and it moves around, but when I left or right click nothing happens. It gets old and is sort of slow using the touchpad. Would the mouse quirk have anything to do with Ubuntu?
 
Old 06-26-2009, 06:12 AM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
What kind of mouse is it? Model,how many buttons etc.
 
  


Reply

Tags
ubuntu810


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 03:04 PM
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 06:46 AM
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 10:57 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 11:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 03:45 PM


All times are GMT -5. The time now is 09:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration