Setting proxy authentication details on ubuntu 12.04 and 13.04

I hope everybody has realized that the latest versions of Ubuntu 12.04, 12.10 and 13.04 do not provided user authentication platform when configuring proxy settings. I experienced the same problem but after going through forums from the internet i got the following method:1. The proxy settings that a user enters are sent to apt.conf file under the /etc/apt folder and its contents is shown belowAcquire::http::proxy "http://server:port/";
Acquire::https::proxy "https://server:port/";
Acquire::ftp::proxy "ftp://server:port/";
Acquire::socks::proxy "socks://server:port/";2. In the above configuration text there is no user and and password hence the server keeps kicking back.3. To fix this problem, append your user and and password as follows.
     Acquire::http::proxy "http://username:password@server:port/"     Acquire::https::proxy "https://username:password@server:port/";
     Acquire::ftp::proxy "ftp://username:password@server:port/";
     Acquire::socks::proxy "socks://username:password@server:port/";4. Restart your computer and enjoy internet access.

Theme provided by Danetsoft under GPL license from Danang Probo Sayekti