AnsweredAssumed Answered

root must be a super user

Question asked by Vijayaragavan Srinivasan on Oct 6, 2016
Latest reply on Oct 10, 2016 by Vijayaragavan Srinivasan

Hi,

i built core-image-base and succesffully flashed onto SD Card and booted as root.

but i am unable to execute reboot,poweroff,shutdown commands.  

below my terminal log

root@melange:~# poweroff
poweroff: must be superuser.
root@melange:~# reboot
reboot: must be superuser.
root@melange:~# shutdown -r now
shutdown: warning: cannot open /var/run/shutdown.pid
shutdown: /dev/initctl: Permission denied
init: must be superuser.
root@melange:~#

 

am surprised that when i logged in as root i do not have have full permission? something wrong in the bitbake?

Outcomes