Root login for ubuntu for BBB

Hello,
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"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
    **<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>
    <policy at_console="true">
        <allow send_destination="org.neard"/>
    </policy>
    <policy context="default">
        <deny send_destination="org.neard"/>
    </policy>
</busconfig

is it possible to provide the root login?
Br,
S

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

Regards,

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.

2 Likes

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