Okay, so that's working at least. The "sudo gainroot" shouldn't be asking for a password though, so the next thing to do is check whether the sudoers entry is correct - what's the result of running (as root) the following?: Code: grep gainroot /etc/sudoers.d/01sudo
grep gainroot /etc/sudoers.d/01sudo
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. Nokia-N900-51-1:~# grep gainroot /etc/sudoers.d/01sudo user ALL = NOPASSWD: /usr/sbin/gainroot Nokia-N900-51-1:~#