How can one perform some administrative tasks from non-root account without becoming root on Debian 7? For example, my iptables block all network access for all users including root except one user - 'webuser'. The webuser is admin account, it is in admin and adm groups, it is in sudoers file and can use sudo. When I try as 'webuser' to use apt-get or synaptic via sudo, then after entering the root password the program apparently starts under the root account, not under webuser, and cannot get access to network.
Is there some configuration settings that can be set for synaptic or apt-get so that these programs could run under non-root account?