1

Currently have a strange situation: wget only works for one user on a system -- and root isn't it.

There are three user accounts, user A, B and root. User A can use wget with no problems. User B and root receive connection timeouts with wget. This results in similar problems with apt-get -- user A can successfully install updates, while user B and root get timeouts when the files are initially downloaded.

Any ideas? This is a Ubuntu system. No firewalls enabled.

  • Wait, how can user A install updates if they aren't root? Are you using sudo or su to give them permissions or have you done something else? – kaerast Jul 10 '10 at 21:27
  • @kaerast In this case, apt-get is being used to get the source of ntp: apt-get source ntp. This is not an operation which requires root. – BSchlinker Jul 10 '10 at 21:32
  • @kaerast The interesting thing is that if the above command is run with sudo it results in timeouts. – BSchlinker Jul 10 '10 at 21:34
7

Maybe it's proxies - proxies are configured in the environment, so might be different for different users, but be consistently set up for those users by their login scripts.

I'd suggest env | grep proxy to find out what is set.

  • Genius. I was unaware of how proxies were set in Linux -- it never even apparent to me that it was possibly a proxy. – BSchlinker Jul 10 '10 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.