Ubuntu :: Won't Let Me Use The Sudo Command In Terminal ?
Feb 27, 2010
Ubuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.
View 9 Replies
ADVERTISEMENT
Jan 12, 2011
when i try to install gimp with the terminal command:sudo apt-get install gimpI get this Error(yes its in german i know):Die folgenden Pakete haben unerflte Abhngigkeiten: gimp : Hgt ab von: libpoppler-glib4 (>= 0.12) ist aber nicht installierbarE: Beschdigte Paketeit says, that the packet: libpoppler-glib4 is corrupt.i already tried to reinstall libpoppler-glib4, but it wouldnt let me
View 9 Replies
View Related
Feb 21, 2011
Running 10.04. For some reason, starting today, I have no internet connection unless I run this command in terminal - sudo dhclient eth0. I have a hard wired ethernet connection on a Desktop PC with a static IP address (there are a number of devices in the house) and it has been running 100% for months and months. Why suddenly do I have to enter this command to get connection? When I switch on I get a connection in that when I click on the Top Panel icon and right click Connection Information it tells me I have an active connection to my router on the normal IP address. I cannot ping the router and Firefox says Server not found. After sudo dhclient eth0 everything works - what has happened since yesterday evening and this morning to stop what has been 100% for months?
View 6 Replies
View Related
Nov 4, 2010
Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo
steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....
View 1 Replies
View Related
Jan 12, 2011
I am pasting sudo commands without problems as a user (ales in my case) and then immediately the ask the user password.
The keyboard seems to be dead, no keys work, not allowing me to enter the password.
View 6 Replies
View Related
Nov 16, 2010
is there any other terminal command that will have a similar result to help me get update manager working in 10.10.
View 6 Replies
View Related
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
May 29, 2010
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
View 14 Replies
View Related
Jun 18, 2010
I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
View 8 Replies
View Related
Mar 20, 2010
I was following a guide to stop Ubuntu from always asking the root password. And apparently i messed something up in vsudo edit or something like that i was in... So now when i put in a sudo command i get this...
Quote:
>>> /etc/sudoers: syntax error near line 18 <<<
sudo: parse error in /etc/sudoers near line 18
sudo: no valid sudoers sources found, quitting
so i cant even get back to undo what i edited.
View 8 Replies
View Related
Nov 6, 2010
For example if I run command in terminal: sudo startupmanager, my psw is accepted and startup manager is started correctly.
But if I click "System- Administration- Start Manager" GNOME asks "Enter the administrator password" and same psw as in terminal is not accepted.
My account is assign to admin group, checked via System- Administration- Users and Groups
View 3 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
Jul 23, 2010
I'm having trouble signing in using the sudo in the terminal.
I enter in the line: sudo abc (username = abc)
I get the line returned: [sudo] password for abc:
If I enter my normal login pw i get the message:
abc is not in the sudoers file. This incident will be reported.
If I enter the root pw I get the message: Sorry, try again.
I've just set up the debian OS and am trying to learn the linux way but it's a bit frustrating. so when I set up the system originally It had me make two passwords one for root and one for my user acct. So how do I get the sudo terminal to work?
View 2 Replies
View Related
Jul 6, 2010
I have written a tiny script which switches between 2 CPU frequency throttling governors. Now I need to assign it to a shorcut key though "Preferences->Keyboard Shortcuts".
Here is the script:
Code:
#!/bin/bash
if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` = 'ondemand' ]
then
[code]....
As you can see this script involves sudo. I know that usually running commands with sudo requires "Run in Terminal" option for a shortcut, but in "Keyboard Shortcuts->Add" there is no option to run command in terminal. When I double click on the script and choose "Run in Terminal", then it functions as it should. How can I make this script execute by doing "Run" and not "Run in Termnal"?
View 2 Replies
View Related
Nov 14, 2010
My 1st time using Terminal with sudo it would not accept my password.I use it successfully to log in and is the only password i used during installation.is there a way to get terminal yo accept my password-it does recognize my user name.
View 2 Replies
View Related
May 10, 2010
Is it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
View 1 Replies
View Related
Feb 26, 2011
I just set up apache on my PC and I cant change the permissions by right clicking because "I'm not the owner" and instead of using the chmod command on every file that I would like to edit I would just like to write a script on a text file, save it to my desktop so all I have to do is double click on it and boom I can edit all my files, etc.
View 2 Replies
View Related
Oct 30, 2010
i changed to ubuntu completly..nomore windows for several reasons, but ofcourse being a newbie, im wondering a coupel things like where the program files are, also..what does the "sudo" command mean? does it just give you admin rights?? what are proprietary drivers, and can i emulate most games under wine?
View 5 Replies
View Related
Mar 27, 2011
I have downloaded a tar ball and installed a program. This program needs root privilege to run. Say the command is nxt. The nxt has an option ERASE How do I make so that it runs as
Code:
sudo nxt ERASE
I have set up root password and everything, but don't know how to do it.
View 4 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
Feb 10, 2010
I got one of these broken packages message but can't remember the command to fix broken packages from the terminal.
View 6 Replies
View Related
Oct 16, 2010
I was attempting to install the fglrx driver on my new ubuntu insallation, following a guide I found from google. At one point it says I need to login as super user, so I tried and no matter how many times I try it just keeps saying authentication failed. I even tried typing in my password with 1 finger, multiple times, every single time, authentication failed. So I decided to try the sudo command with fdisk -l, worked flawlessly. Tried the su command again, authentication failed, I have no idea what in heck is causing this but it just won't stop happening.
View 1 Replies
View Related
Sep 12, 2011
How i can run the following command (for Ubuntu) in Mandriva 2005 ? What is the similar command ?
sudo apt-get install python-wxgtk2.8 pyro mercurial build-essential bison flex mercurial python-numpy
View 1 Replies
View Related
Jan 20, 2010
On my Ubuntu server I'm running into an issue that I've never seen before even though I've been using Linux for many years. Basically sudo is not finding a command located in my path. Here is a transcript illustrating the problem.
Code:
prg ~: echo $PATH
/opt/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
prg ~: sudo echo $PATH
[Code]....
View 7 Replies
View Related
Feb 17, 2010
When trying to open nautilus as root, I get the following message:
xxx@xxx-desktop:~$ sudo nautillus
[sudo] password for xxx:
sudo: nautilus: command not found
xxx@xxx-desktop:~$ sudo nautilus
(nautilus:3917): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 'preferences_is_initialized ()' failed
Initializing nautilus-gdu extension
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'UploadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'DownloadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Initializing nautilus-clamscan extension
Fontconfig error: Cannot load default config file
** (nautilus:3917): WARNING **: Could not inhibit power management: The name org.gnome.SessionManager was not provided by any .service files
--- Hash table keys for warning below:
--> xxx
--> root
--> inode/directory
--> l2050
--> l2049
--> staff
--> xxx
(nautilus:3917): Eel-WARNING **: "unique eel_ref_str" hash table still has 7 elements at quit time (keys above)
(nautilus:3917): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 12 elements at quit time
Shutting down nautilus-gdu extension
View 4 Replies
View Related
Feb 24, 2010
i am using ubuntu 9.10 .i recently installed vmware server in ubuntu. since during installation of vmware i gave default values the default username for vmware server is root. inorder to access vmware server i changed the root password in terminal. i gave the following command in terminalsudo password rootit prompted for new password and i entered the password. after that i accessed the vmware server using the username as root and password. it worked fine,i created a virtual machine and it worked fine.now the problem is when i restarted the system and login to vmware server i was unable to access virtual machines created previously. also now i am not able to use sudo command .the following message shows up. sudo: must be setuid root. may be this prob is due to the command i gave sudo password root. can someone help me resolve this prob and go back to my previous state.before when i used to give a sudo command it asked for my account password.
View 9 Replies
View Related
Sep 8, 2010
Code:
sudo shutdown now
command does not shut the computer down
When the command is typed a, all the programs are closed and proceeds to shut down. But after some time, screen gets stuck(plymouth animation stops moving). But the computer is still working. Fan is running , Power LED is on. LED showing hard disk usage blinks at equal time interval. There is no problem in shutting down using the button on panel. So I suppose it is not a hardware problem. More over there is no problem in windows. The graphics card is Nvidia Geforce 7300GS. I am using proprietary Nvidia driver.
View 5 Replies
View Related
Feb 25, 2011
I just installed node.js and it is located at /home/apantev/local/node/bin . So I added the follow to my ~/.bashrc
Code:
export PATH=/home/apantev/local/node/bin:$PATH
And this works fine if I use node normally for instance
Code:
node -v
[Code]....
View 7 Replies
View Related
Apr 3, 2011
I have to enter the root password every time I want to run
Code:
sudo vpnc
and I know that there is a way to avoid entering password every time but I can't remember what it is.
View 9 Replies
View Related
Apr 4, 2011
I have written a script that must be run as root, but at one point in the script there is some library configuration which should not be run as root. So my question, is there a command that runs another command as not root when root? (If that makes any sense..)
View 8 Replies
View Related