Root login for ubuntu for BBB

is there a root login /password for ubuntu 20.04.It is provided for debian but not for ubuntu.
I need to start a daemon at boot / post boot as a root
It is giving
“Connection “:1.20” is not allowed to own the service “org.neard” due to security policies in the configuration file”

I think it is due to below bold line in the conf file of the daemon.(org.neard.conf)

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
    **<policy user="root">**
        <allow own="org.neard"/>
        <allow send_destination="org.neard"/>
        <allow send_interface="org.neard.NDEFAgent"/>
        <allow send_interface="org.neard.PHDC.Manager"/>
        <allow send_interface="org.neard.PHDC.Agent"/>
        <allow send_interface="org.neard.HandoverAgent"/>
    <policy at_console="true">
        <allow send_destination="org.neard"/>
    <policy context="default">
        <deny send_destination="org.neard"/>

is it possible to provide the root login?

@sr007 by default ubuntu does not have a root user account enabled…


1 Like

@RobertCNelson is right – There is no root account enabled by default. To enable it, run the command sudo passwd root, and set a password.


Thanks @RobertCNelson and @aidenatt . in the meanwhile I have started using debian