Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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

1 Answer 1

up vote 7 down vote accepted

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.

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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