Ubuntu sudo environment question

I have set LD_LIBRARY_PATH="/usr/lib/oracle_client_10_2" in /etc/environment. Which works fine when I work as normal user.But when I have to compile a program (as sudo) LD_LIBRARY_PATH is not set. Confirmed with "sudo printenv"When I try to export variable:~$ sudo export LD_LIBRA ...

Ubuntu export command

I just installed xubuntu server 8.10.To use apt -or any other update/install tool, I have to configure the system to use my proxy server.The commands I would normally use aresudo export http_proxy="192.168.1.10:3128"sudo export ftp_proxy="192.168.1.10:3128" However, the export co ...

Ubuntu HP Pavilion DV6 with Broadcom BCM4312

I'm relatively new to Ubuntu and Linux OS in general, hope this hasn't already been solved but after trying for 24hrs+ I think it may be time for me to start my own thread (sorry if there is already one).I have been desperately trying to get my Broadcom BCM4312 wireless card to work and after search ...

Ubuntu Cannot upgrade from 8.04 to 9.04

OK, I've searched around a bit and I cannot find the exact answer to my question. I've been trying to use the cli to upgrade my server from 8.04 to 9.04, but I keep getting the same error. I've tried various commands discovered through searching the forums and the net, but I have not found the corre ...

Ubuntu apt-get thru proxy

I know there are about 50 million ppl who have asked this before, but I still couldn't figure it out...I cannot get apt-get to work through the proxy...i did sudo export http_proxy=http://myproxy:myportbut i can't figure out how to authenticateI tried:sudo export http_proxy=http://myuname:mypass@myp ...

Ubuntu adding firestarter to suoders

I want to give firestarter to startup(latest ubuntu, DE = Gnome). I did it like this: sudo export EDITOR=gedit && sudo visudofolowing lines after%root ALL=(ALL) ALL -->%myusername ALL= NOPASSWD: /usr/sbin/firestarter:-k add to Preferences-->Sessionsgksudo /usr/sbin/firestarter --start- ...

Nightmare Installing Unreal Tournament 2004 In Ubuntu 7.10

I,ve installed ubuntu 7.10 in order to free myself from windows, the installation ran amazingly smooth (shocked) installed drivers etc. however trying to install ut2004 on my pc led me to an unsolved problem. I have tried all forums,articles and stuff... none works.im asking for desperate help.1.)so ...

Ubuntu HOWTO: Openswan Klips support in Feisty

(WARNING: THIS GUIDE IS NOT COMPLETE/WORKING YET AS THERE SEEMS TO BE BUILD PROBLEMS WITH THE KERNEL MODULE AGAINST 2.6.20?)KLIPS SUPPORT IN UBUNTU FEISTY FAWN (7.04)==========================================This guide is written to help us get KLIPS support in Ubuntu. KLIPS is needed to get virtual ...

HOWTO: Install Unreal Tournament on Ubuntu.

Howto install Unreal Tournament under UbuntuThis howto will teach howto install unreal tournament under ubuntu (Breezy, but i guess it will work on dapper too). We use the old loki installer with some fixes to get it working. Step 0.First of all, be sure your video drivers are properly working (if o ...

jdbc driver install Problems

Not sure if this is the right place to put this, but here goes.Attempting to install jdbc driver so I can connect my java programs to a mysql server.This is what I have done:- downloaded mysql-connector-java-5.1.16.zip file from mysql.com.- Following instructions to install using a bash shell, I typ ...

Ubuntu export EDITOR=gedit && sudo visudo opens the sudoers file in the terminal window

I need to edit my sudoers file but for some reason the sudoers file keeps opening in the terminal window instead of gedit. What am I doing wrong? I'm currently running Ubuntu 8.04.export EDITOR=gedit && sudo visudoAt the moment the only way I can edit the file is to chmod it and then double ...

Ubuntu Help with [export EDITOR=gedit && sudo visudo ] for firewall

Having great fun discovering Linux !Got samba and networking print working, but..........I am following the the fire wall tutorialhttp://www.debianadmin.com/secure-ubuntu-desktop-using-firestarter-firewall.htmland to suppress the request for sudo I am ammending the sudoer file as described below [ e ...

Ubuntu export $PATH for sudo command

I installed the JDK from Sun so I now have it in my $PATH. But if i type sudo javaIt runs the GJC or what ever it it called, the GCC version of Java no the JDK form Sun. I edited my .bashrc so that every time I logon the export command is executed. Anyways how can I do this for root so if I type sud ...

Ubuntu 10.10 sudo dpkg --configure -a

First post here but have been lurking for a while now.I have recently moved to Ubuntu from Windows on my work computer, All has been working well till today.Whenever I try install something via Ubuntu Software center it hangs on "applying changes" and if I try cancel it, it hangs on " ...

Ubuntu Need sudo for everything, even ls

I'm running Ubuntu 9.10.I must have have done something dumb, but I'm not sure what exactly.The first odd behavior I noticed was that archive manager kept giving errors on tgz and bz2 files. At first the files were new, so I assumed corruption. Eventually I checked on a known good file and got the s ...

Ubuntu Sudo Password

I just installed Hardy fresh. Some things are a bit different. I would like to loose the password prompt for sudo for example.So I use the following command to open the sudoers fileexport EDITOR=gedit && sudo -E visudoand edit to include a line # User privilege specification root ALL=(ALL) A ...

Ubuntu ADB export not recognized through bashrc anymore..

I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd)I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:# Android Debug Bridge (ADB) sdk ...

Ubuntu sudo node command not found

I just installed node.js and it is located at /home/apantev/local/node/bin . So I added the follow to my ~/.bashrcexport PATH=/home/apantev/local/node/bin:$PATHAnd this works fine if I use node normally for instance node -vv0.4.1, but If I try to use sudo with it I get:sudo node -vsudo: node: comman ...

Ubuntu Set variable for script to run with sudo

I have a script that backs up my computer that must be run like this:sudo /home/bjorn/script.shHowever, I need to be able to change the ip it backs up to. I used to do this by rewriting the script when the ip changed, but I now have like 10 different scripts. So, it would be nice to be able to set a ...

Ubuntu sudo apt-get update errors...

I have been getting errors with update lately...W: GPG error: http://packages.medibuntu.org karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures ...

Ubuntu Export within shell problems with OpenVPN

I'm new to Linux and I know that there's an attitude that we should solve our own problems but I really can't progress any further.After installing OpenVPN there's some configuring to do - which I've done before on the ... windows platform *ducks*. It seems pretty straightforward. All I need to do i ...

Ubuntu Export PATH to adb directory through bashrc

I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd)I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:# Android Debug Bridge (ADB) sdk ...

Ubuntu Command not available for sudo

I'm using some of Ruby Gems that I need to run straight from the command line like this (example with starling):$ starlingEven though I had that particular gem installed, bash didn't recognize it and I got a message like this:bash: starling: command not foundI found out that I needed to append some ...

Ubuntu adb export not functionning anymore

I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd)I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:# Android Debug Bridge (ADB) sdk ...

Ubuntu unable to 'unlock' sudo for gui management

Tasks requiring 'root' access such as manual network configuration have an 'unlock' button, however when I click on unlock the window that comes up has the options grayed out such as 'select user'. It prompts for a password but the field is grayed out and i can't type anything in or hit submit.I tri ...

Ubuntu Running a Java application with sudo vs. being root

Friends,I've come across a situation I'm not sure how to troubleshoot. Any help or guidance would be appreciated! The problem is that I am trying to run RationalPlan Viewer (http://www.rationalplan.com/viewer-project-management-software.php), a Java application that can open and export Microsoft Pro ...

Ubuntu Problem with sudo

I tried removing the password prompt for anything i do with these commands export EDITOR=/usr/bin/nanosudo -E visudoAnd changed the last line %admin ALL=(ALL) ALLto%admin ALL=(ALL) NOPASSWD:ALLNow everytime i wanna do something that wants admin rights it doesnt let me :(How do i revert this back to ...

Ubuntu "...does not support NFS export"

I have just upgraded to Karmic with a clean install. I'm trying to set up my NFS shares (to enable my laptop to see the "Public" folder on my desktop machine within my network. /etc/exports:/media/tunes 192.168.1.0/24(rw,no_subtree_check,async)/home/qwerty/Public 192.168.1.0/24(rw,no_subtr ...

Ubuntu I broke my sudo - need help!

sudo is broken - won't run anywhere. Anytime I try to sudo in terminal I get: "sudoers file: syntax error, line 25"I have read a bunch of "sudo broke" threads and thought I would ask for help before reinstalling. I was trying to write a script that would run as sudo and found thi ...

Ubuntu unable to use sudo command

I broke my installation by playing. I was trying to enable Firestarter to load at bootup. I now cant do updates or anything which requires the password. I edited the following:export EDITOR=geditsudo visudoIf I use the disk to boot up live. Can I edit the file on my hard drive to restore my system o ...

Ubuntu sudo apt-key add?

i am trying to install berly, i am stuck on installing the headers for the drivers. so i tryed to install them and it won't update says some thing about a key? so: this is what i did after looking at some forum's>shadowmodz@shadowmodz:~$ gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 31A5F9 ...

Ubuntu sudo is messed up

i might have messed my box up. i have root login disabled, and i was trying to add another user to the sudoers group. first i 'export EDITOR=gedit && sudo visudo' then i added to the file 'system_usernameALL=(ALL) ALL'. now none of my users can sudo. my grub menu is also disabled according t ...

Ubuntu sudo problems still

[/B]i have 2 pcs. both have 2 h. drives.h. drives are not connted together. ebuntu installed on all 4.ebuntu worked so good i didnt believe it would be so easy to change over from $$$$$$$ but it was. after 2 to 3 months i have a problem with sudo. it will not take my password which is the same on al ...

Ubuntu Sudo group all messed up !

I am running Xubuntu (from a server install) and I wanted to add my user to the sudo group. In fact, what I wanted was to be able to turn off my PC without having to type my password (XFCE stuff).As I don't have the Gnome GUI for user management, I started messing with users, groups and so on... wit ...

Ubuntu new sudo user, wanna make sure I understand this

I want to add another user to the sudo list. What I'm doing is making a second account for myself. So, I'll have myself with two accounts, my wife and two kids.I ask because I don't want the other users ending up with root access. Having read and looked over the Starter Guide, I've found how to do i ...

Ubuntu sudo PATH problem

There are similar threads on this, but none have contained any information to help me out. So, here comes another.Basically, it's become painfully obvious that sudo has a different PATH than me and the root account. Take a look:As me:mwedemeyer@obsidianportal:~$ env | grep PATHPATH=/usr/local/sbin:/ ...

Ubuntu sudo: command not found

My friends dell laptop is running edgy (I assimilated another windoze user) with kde as the default desktop. Everything has been great 'till a few days ago when she calls me and says her internet is not working. She has internet troubles before so I just tell her to sudo ifdown/ifup and shes back su ...

Ubuntu Sudo environment variables and nautilus menus.

1. I use scim with anthy for japanese input. I export environment variables to get it to work in ~/.gnomerc. However, when I start a graphical application with sudo/gksudo, these variables are passed on and another instance of scim is started!So how do I stop sudo from passing on these environment v ...

Ubuntu proxy authentication and sudo apt-get install !!!! help :((

My internet connection is via a proxy that needs authentication ! using firefox, I have no problem as it prompts for username and passwrd !but when using synpatic package manager or "sudo apt-get install" It can not find packages which are available via Internet ! I tried adding the follow ...

Ubuntu nfs - cannot export a mounted removable drive

I have an NFS server with an attached USB drive mounted as "/media/My Book"I am trying to export this directory and when I refresh the exportfs (exportfs -ar) I get the folowing:vetto@adcap:~$ sudo exportfs -raexportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specif ...

Ubuntu Import export archive recordings problem in 8.04

Hi, I have just installed the release candidate of 8.04.Before I installed 8.04 rc I archived a few recordings to an external drive from mythbuntu 7.10But now I am unable to import the video files.Also Im unable to export a recording I have just made from live TV.The log screen shows no activity and ...

Ubuntu Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

TexLive 2008 + GreekTex + Export to HTML and OpenOfficeThis is an update of this (http://ubuntuforums.org/showthread.php?t=810301) guide to use greektex in TexLive 2008. Xetex is preisntalled and ready to use.Some steps may be unnecessary or duplicated but it worked for me.Of course it needs improve ...

HOW TO: Configure LDAP for SUDO Support on Ubuntu Server 9.10 (Karmic Koala)

Ubuntu 9.10 (Karmic Koala) SUDO-LDAP Walk-throughTable of Contents:BackgroundAssumptionsServer ConfigurationClient ConfigurationReferenceBackground:There are many threads and documentation regarding inital setup of OpenLDAP with HDB on Ubuntu. However, non fully address enabling SUDO access for user ...

Ubuntu Help with gpg --export

I did run this as sudo and realized I shouldnt so now I am trying to run thisgpg --armor --export DD4D5088 > keyName.gpgI get permission denied ???I did run the gpg --keyserver as current user (deus) so why permission denied? ...

Ubuntu Setting "export PATH=/usr/bin:/bin" permnently

HiAfter opening terminal when I use ls, sudo.. or any other commonds am getting below errorsCommand 'ls' is available in '/bin/ls'The command could not be located because '/bin' is not included in the PATH environment variable.ls: command not foundCommand 'sudo' is available in '/usr/bin/sudo'The co ...

Ubuntu sudo service apache2 start - /bin/sh: Can't open /etc/init.d/apache2

After upgrading to the latest Ubuntu on my workstation, I get the error message:$ sudo service apache2 start/bin/sh: Can't open /etc/init.d/apache2However, when I execute:$ sudo sh /etc/init.d/apache2 start* Starting web server apache2apache2: Could not reliably determine the server's fullyqualified ...

Ubuntu sudo apt-get update wont work (with a potential twist?)

I can see this is a common problem, but have looked through all of the solutions and none work for me. There is also something strange going on that I can't explain. Here's where I am so far:First of all, I am behind a proxy. I have set it up in network settings, and can connect to the net through f ...

jQuery How to Export Excel + HTML Table

everyone, exist any way to export Excel file this table:<table><tr><td> Campo 1</td><td> Campo 2</td></tr><tr><td> Campo 3</td><td> Campo 4</td></tr></table>Any idea?Thanks YouDon Quijtote de Nicaragua.Elder Soto. ...

jQuery Export to CSV file

I have a table which I would like to export to a CSV file.I have searched and there seems to be no export to CSV (plenty of create a table from a CSV however)Any ideas guys? ...

jQuery Export a part of html table to excel

<?phpheader("Content-type: application/vnd.ms-excel; name='excel'");header("Content-Disposition: filename=export.xls");header("Pragma: no-cache");header("Expires: 0");?>I am trying to save a part of html table into an excel. I want to savepartial ...