The aim of Wajig is to operate as a user command and to do super user privileged commands as necessary. The easiest way to do this is to use the sudo package which will ask you for your password and then run the command as the super user. If you don't have sudo installed then wajig will use `su' to run as super user, but you will need to enter the super user password frequently. If `sudo' is installed but not set up for you to access the appropriate APT commands you will see a permission denied message.
Installing sudo is straight forward. As root run the command `visudo' to edit the configration file. Add the lines:
Cmnd_Alias APT = /usr/bin/apt-get, /usr/bin/apt-cache, /usr/bin/dpkg, \ /usr/bin/editor, /usr/sbin/dpkg-reconfigure, \ /etc/init.d/*, /usr/sbin/update-alternatives, \ /usr/lib/apt-move/fetch /usr/bin/dselect, \ /usr/bin/alien
kayon ALL=(ALL) APT
in the appropriate places. Then user `kayon' can run the APT and related commands as the super user.
If you prefer user `kayon' not to need to enter their password every time you could instead add the following:
kayon ALL=(ALL) NOPASSWD: APT
This is not recommended as an unattended terminal may give someone else access to root, although this access is limited to specific applications so the risk is small.