Hi All,
I have replaced root with rootadmin user while building openwrt,
All things are working perfectly,
Now i want to use sudo for non-root user.
i have setted up sudoers file as below;
But whenever i try to do "sudo -i" it gives error as "sudo: unknown user: root"
rootadmin ALL=(ALL) ALL
%root ALL=(ALL) NOPASSWD: ALL
## Read drop-in files from /etc/sudoers.d
@includedir /etc/sudoers.d