Ubuntu :: How To Add A Command To Sudo

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


ADVERTISEMENT

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

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

Server :: Sudo - Command Can't Run By Sudo

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

Ubuntu :: What Does 'sudo' Command Mean?

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

Ubuntu :: Sudo Command To Fix Packages?

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

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 View Related

Ubuntu :: Su Command Won't Work, But Sudo Will?

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

General :: Run Ubuntu Command Sudo Apt-get In Mandriva?

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

Ubuntu :: Sudo Not Picking Up Command In PATH?

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

Ubuntu :: Sudo Nautilus - Command Not Found

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

Ubuntu Installation :: Unable To Use Sudo Command In 9.10?

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

Ubuntu :: Sudo Command Does Not Shut Computer Down

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

Ubuntu :: Sudo Node Command Not Found?

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

Ubuntu :: Bypass Password For A Sudo Command?

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

Ubuntu :: Run Command As Not SUDO - Library Configuration

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

Ubuntu :: Sudo: Grub Command Not Found?

Aug 10, 2011

'' Ubuntu 11.04'' I have used G-parted to make some free space for my windows partition '' 100 GB. But before windows is installed the Grub loader is already broken . So i decided to restore the GRUB in the live CD en start with sudo grub and i get this:

sudo grub
sudo: grub: command not found
sudo /sbin/grub
sudo: /sbin/grub: command not found

View 4 Replies View Related

Ubuntu :: Sudo: Add-apt-repository: Command Not Found?

May 10, 2011

I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response

View 6 Replies View Related

General :: Usage Of Sudo Command In Ubuntu And Red Hat?

Apr 18, 2010

In Red Hat, suppose if root user wishes to give a privilege to run the fdisk command to a user named sam.And he makes appropriate configuration changes in /etc/sudoers file. Now when sam wishes to run the fdisk command, then he has to issue:

Code:
[sam@system43~]$sudo /sbin/fdisk -l
Password: But in ubuntu, after the same configuration being done, what sam needs to do is:
Code:
[sam@somesystem43~]$sudo fdisk -l
Password: ***

That means, in ubuntu the user need not type the full path of the command. I wish to know how can I make red hat system work like ubuntu as far as the sudo usage is concerned.

View 3 Replies View Related

Fedora :: Can't Use 'sudo' Command?

Mar 18, 2010

I can use "su" & "su -" commands, but somehow I can't use the "sudo" command?

View 2 Replies View Related

Ubuntu Servers :: Following Command:Code:sudo Apt-get Install Ssl?

Jun 4, 2010

I ran the following command:Code:sudo apt-get install sslIt is suppose to give me SSL support for Apache 2.2, but I couldn't find any package information about it atA search only returns ssl-cert package.So what is in the ssl package for Lucid 10.04 LTS? How do I know what package contains what in the future?

View 2 Replies View Related

Ubuntu :: Sudo Command Doesn't Recognize My Password?

Jun 18, 2010

This is a new installation.My system login password is recognized and that same passwd is recognized by the Software Centre, but not with sudo in the terminal.

View 2 Replies View Related

Ubuntu :: Cant Remember Sudo Command To Enable Root?

Jul 2, 2010

I have done this before and its driving me insane, i just cant remember what command it was and google isnt revealing anything either.i usually type:"sudo command" and it asks my password which is ok, but i have a bunch of commands to issue as root and dont want to have to type sudo each timethis is what I want to see:

View 3 Replies View Related

Ubuntu :: Sudo ./postgresplus-8.4.1-2-lixuz-x64.bin Command Not Found

Jul 21, 2010

I am trying to install postgres using the one click installer from [URL]. I downloaded the file into Downloads and ls shows me the file. When I enter the command "sudo ./postgresplus-8.4.1-2-linux-x64.bin", I get "sudo: ./postgresplus-8.4.1-2-linux-x64.bin: command not found". What am I doing wrong?

View 2 Replies View Related

Ubuntu Networking :: Sudo: Usb_modeswitch: Command Not Found

Aug 21, 2010

when i type this command

sudo /usr/sbin/initmodem.sh

the output is

sudo: usb_modeswitch: command not found

I am trying to install BSNL capitel modem in Ubuntu 10.04.

View 2 Replies View Related

Ubuntu :: Add User Permission To Use Sudo In Command Line?

Oct 20, 2010

I have a problem about user permission, I just destroy my user...So, I create a new one. But I can't have the permission to use "sudo" or to install program... So, I cannot do a lot of thing in my computer. The logical solution is to boot in failsafe mode and access to the root terminal, but, I don't know how to change the permission to allow me to use sudo.

View 5 Replies View Related

Ubuntu Installation :: Sudo: Add-apt-repository: Command Not Found

Jan 4, 2011

I've been trying to add (via terminal) a ppa:<name> from this site (finally got around to getting a Wacom Bamboo), but every time I try to do as it suggests, I get the following error:

Code:

$ sudo add-apt-repository ppa:hughescih/ppa
sudo: add-apt-repository: command not found

I found I already had this installed, but to double-check,I've uninstalled and re-installed it to make sure, and still to no avail. I wasn't sure if I'm still missing something or what the deal may be.

View 9 Replies View Related

Ubuntu :: Install Gimp With The Terminal Command:sudo?

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

Ubuntu :: Getting Into A Directory On Server - Sudo: Cd: Command Not Found

Feb 6, 2011

I am trying to get into a directory on my server, that is owned by root.

[Code]....

View 6 Replies View Related

Ubuntu :: What Packages Were Removed By The Last 'sudo Apt-get Autoremove' Command

Jun 12, 2011

Is there any way to find out what packages were removed by the last 'sudo apt-get autoremove' command? Is that info in a log somewhere? I am setting up a recently installed minimal install and my last autoremove seemed to remove some dependencies which has in turn killed my network connections, wired and wireless.

View 2 Replies View Related

Ubuntu Installation :: Sudo: Apt: Command Not Found While Installing?

Jun 21, 2011

so i was removing softwares using ubuntu software center.. games i don't play and cheese webcam booth because it was not working, i intended to re-install it. after my installation, half my icons (i have extensively personalized my desktop) changed to defaults. The themes page said 'theme will not be as it appears because default.kde is not installed'. i did not remove any such package. just games. and furthermore, i installed a kubuntu plasma desktop system which i read in a thread contains the file default.kde but that hasn't helped and i still don't know what do to..

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved