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..)
Trying to install e4rat that was on LifeHacker on Friday and have zero idea what I am doing. I have the e4rat extracted to a directory in /usr/local/src The README says that there are dependencies including boost library components. I am fine installing the whole boost library but sudo apt-get install libboost* did not work.
[Code]...
I tried to bang around a little to try to learn something with this but can't get any further.
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.
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?
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.
I installed FC 12, 64 bit yesterday. I downloaded open office and unpacked it. I then issued the command rpm -Uvh *.rpm this fails due to many dependencies Some of these are:
[Code]...
how to "link" or make these and presumably other libraries searchable.
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.
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.
I am able to build a shared library under solaris with /usr/local/bin/g++ -G -o output.so file1.o file2.o file3.o. How do I build the shared library under linux using the same files? I have tried to use the same command /usr/local/bin/g++ -g -o but I got some undefined references, even if those references are defined in one of the object files.
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.
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
(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
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.
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.
'' 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
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.
Seems like this is a running issue. also, sudo returns "The value user is not in the sudoers file. This incident will be reported" kdeusu just makes a noise and returns nothing.. In the past i had a workaround of using nautilus, but, nautilus seems to be missing from jessie repo (same for gnome files).
[URL] ... ssoo... this happened and it seems to be going somewhere, but, i can't really make sense of it, and there was no solution..
Also found this [URL] .... and the pathnames should be fine but i don't want to go around arbitrarly entering commands
There was also [URL] .... which only mentions using kdesu which... doesn't really 'exist' anymore.
i would like to prevent all users other than the user "parker" on my system from using the su or sudo commands. I have not attempted to modify the sudoers file so it just contains the standard root ALL = (ALL) ALL.
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?
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.