View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#26
Originally Posted by mdziaf View Post
Running the code gives me the following:
Code:
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:~#
That's okay anyway - it specifies NOPASSWD so it shouldn't be asking for any password. What about:
Code:
grep gainroot /etc/sudoers
If that only gives the exact same result, can you post the contents of /usr/sbin/gainroot (cat /usr/sbin/gainroot)?
 

The Following User Says Thank You to Rob1n For This Useful Post: