I use my laptop through a proxy and at home I don't. I've set the proxy at uni using export http_proxy="...", as well as ftp and https proxies. Now I'm at home, I go to unset them by typing export http_proxy="" and that works, until I close and reopen terminalwhere "export" shows the proxy still set
I am setting proxy for apt-get application in command line using xporthttp_proxy="http://usrnameasswrd@hostort"But my password contains special characters whi is mandatory in our system. the special characters are not recognised properly and it give authentication failure when i use apt-get..how do i work around this problem?? i know that i could put the hex code for the special characters so the system will recognise it properly, but i dont know how exactly, as i tried it but seems not working.
I upgraded from Karmic to Lucid yesterday and today today I've noticed that I can no longer apt-get update through the terminal. I'm behind a corporate firewall, so up till now I've always exported the proxy address like so:
Code: export http_proxy=http://user:password@address:port This hasn't worked under Lucid. I did some searching and found that Lucid did away with
At work I used to use "export http_proxy=http://xxx:8080" in F10 to instruct yum to use said http proxy. This no longer works with F11; yum would hang like this in F11, with http_proxy set: [root@taiwan timliim]# yum update Loaded plugins: refresh-packagekit The reason being that in F10 yum uses http to get mirror list, but in F11 it uses https. In F11 one can use export https_proxy=http://xxx:8080 or edit /etc/yum.conf to add proxy=http://xxx:8080 This knowledge is in other postings too, but their subject lines are less than obvious to me, so I am reposting a summarized version here.
I just setup a debian OS(in emulator) and trying to use apt-get update. When I log in as root and do:
export http_proxy=http://proxy.com:9090 apt-get update works
If I use another user and ssh to this debian, sudo apt-get update will fail to work because it don't use the proxy. I try to do the export http_proxy stuff again but still not working. echo $http_proxy showing it already set correctly...
p/s: I have a workaround by adding this lines in the apt.conf ACQUIRE { http::proxy "http://proxy.com:9090" }
but I really don't want this solutions because I want to easily disable the http_proxy in command prompt (by unset it).
The application works rather well for most part, it generates the dh, ta, certs and config for the server and i can activate the VPN connection just as planed and clients can connect to the port so that works as well.The problem comes when i try to use the "Export" button to generate a config for the client and a key (cert) for the user.If i'm not mistaken that's what the export button is ment to be used for.
I am having an issue with KPackageKit, actually 2 issues but one makes it unusable. The major issue is that when I go to apply the updates I get the following error message (at least here are the details of the message)
I do not run my connection through a proxy and my internet works correctly. This is on a laptop I upgraded using zypper from 11.3 to 11.4 (I did the same with a desktop which does not have this issue). zypper refresh successfully refreshes the repositories, and the various Yast repo tools all work correctly. Additionally after I am shown the updates and am prompted for root pw, the packages will no longer show up for a while, each time it tries to look for updates the message comes through but they will show up after a while again. The other issue I have is that it requests my pw multiple times, this also happens on my desktop that actually will update. I get prompted twice, they are immediate and back to back. This one is a little minor annoyance but there should be no reason that it needs to make this request multiple times.
I am running hardy on my laptop and was thinking its time I upgraded. One thing that's been holding me back is I have a number of wifi keys stored in there somewhere and can't remember what they were exactly. Are they exportable?
I'm trying to get experience in creation of virtual Fedora 9 x64 cluster using Ubuntu 9.04/Virtual Box 2.2.2. I have a head node with 1 G of RAM and two slave nodes with 512 M each. There's internal networking in Virtual Box with DHCP, so my nodes have addresses:
192.168.15.100/24 (Slave0.localdomain), 192.168.15.101/24 (Slave1.localdomain), 192.168.15.102/24 (Head.localdomain). Ping is OK. I've added the following string to /etc/exports file: /usr/share 192.168.15.0/24(rw) And then used /usr/sbin/exportfs -a But showmount -e 192.168.15.102 entered at slave node shows nothing. What's wrong? May be I have to somehow start nfsserver, but how?
I have a DHCP/PXE server behind a firewall. It mounts partitions on the file server on the corp. network on the other side of the firewall. Every box that PXEs also mounts partitions on the main file server.
I was hoping I could change them to mount from the DHCP/PXE server, so that server could cache and cut down on the requests through the firewall, as well as the sessions that the firewall must track.But it seams a little strange to try to export directories that are simply NFS mounts on another server already.
I used to have all my mp3s, photos, etc. on a Seagate "Freeagent" removable USB drive and share it over a Windows network. We've gone all Linux in the house and I tried to export the same drive over NFS (got the NTFS support installed, ntfs-3g) but get this error:
Code: Starting NFS services: exportfs: Warning: /media/FreeAgent Drive does not support NFS export.
Ip Address Proxy Server 1 is: 123.16.201.23 Ip Address Proxy Server 2 is: 123.16.201.24
Every Client: 123.16.3.25,.... and 123.16.4.25,..... ....
- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.
- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?
- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).
I just go to company so i have everything don't know system.
For some reason it seems like my Thunderbird 3.x has a limit of 80 chars per line enabled, so when I edit a message, it puts a line feed on or before that limit.
I think it could be set when I installed Enigmail for using GPG, that changes some default values, but I'm not sure.
Anyway I would like to avoid this issue, so I can write lines as long as I want, but I've not found a configuration option to do this within "Preferences" dialog.
Does anyone know if there is a way to "unset" processor affinity? So if you bind a process to just one proc, but then want to tell the OS to revert to normal behavior? Also, when you bind a process to a processor, can other processes use that process or does it have exclusive usage of that proc?
If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.
Consider this (trivial) bash function, for example, set in a .bash_aliases file and read at shell initialization.
function foo () { echo "bar" ; }
How can I clear this function definition from my current shell? (Changing the initialization files or restarting the shell doesn't count.)
This is related to http://superuser.com/questions/27376/why-does-my-ld-library-path-get-unset-launching-terminal, but a different set of symptoms.First, /usr/bin/screen is setuid as per the other question. Second, the default shell on this system is /bin/tcsh for various historical reasons, and we're not allowed to chsh to /bin/bash, so I typically run bash manually immediately after login. Third, I almost always use screen, but I want ctrl-a ctrl-c in screen to create a new bash "tab", so I always invoke bash first.
I've got new version of grub from the newest linux. Do you know how to disable quiet booting ? Because I've got problem with my graphics card and to fix it I need recovery mode.
I am using Firefox 1.5.0.9 in RHEL 5.0. I have a application which needs to load some jar files to the firefox browser, for which I am adding the path in LD_LIBRARY_PATH in ~/.bashrc.The issue is when I launch the firefox through a shortcut, the LD_LIBRARY_PATH is unset, and it just sets it to Firefox specific libs.Additionaly if I run firefox through command line it sets it perfectly fine, and appends the Firefox libs to the already set LD_LIBRARY_PATH.
but the user could tamper with the histfile itself. Like: rm -f $HISTFILE; rm -f $HISTFILE; mkdir $HISTFILE; rm -f $HISTFILE; ln -s /dev/null $HISTFILE;
I'm experimenting with PROMPT_COMMAND to execute a command each time the user executes a command and so log it somewhere else.This post was pruned from the 2009 Is there a way to prevent users from changing or unset their HISTFILE variable? thread. Please do not resurrect old threads but instead create your own (and maybe provide a link to the old one).
Failed login attempts are logged to syslog with the user id or login id set to UNKNOWN_USER or UNSET.Anybody know if this is configurable. I would rather it just pass the actual id that the user used. Doesn't matter if it exist or not, just want to know if someone is guessing at user names and what those user names are
I normally use the Evince Document Viewer for .pdf files. However, sometimes Adobe Reader is better. I recently downloaded (the Linux version directly from the Adobe website) and installed Adobe Reader. Somehow it set the default viewer for .pdf files to Adobe Reader. Even if I right click on a .pdf document, select evince, and check the box to make evince the default viewer, the next time I click on a .pdf file Adobe Reader comes up. Adobe must have set some configuration file to force Adobe Reader to be used. Does anybody know how to change this, so Evince is my default document viewer again?
As an aside I am suspicious that Adobe plants some cookies or other bad stuff in my system and reports stuff back to Adobe. Does anybody know if this is true, and if so, how I can get rid of this stuff.
A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.
I need to convert an ODT file to a PDF file in OpenOffice. I cannot use the "export as PDF" option because this is to submit homework, and the teacher will not except it that way. He says it looks crappy. So where can I get a good add-on that does this?
I have an installation of ubuntu (not a virtual disk) that I'd like to turn into a virtual box drive so that I can import it into virtual box on another system. Is there an easy way to do this?