A
A
Alexey Green2014-05-23 16:42:01
linux
Alexey Green, 2014-05-23 16:42:01

How to set up root in custom firmware if there is no sudoers?

I compiled the firmware for DIR-300C1 from the sources, before the build I can edit any configuration, how can I provide root for the admin user, if sudo is not there at all? I wrote about this before, but without an answer, please help.
Links:
Sources
Examples of configurations in etc.zip etc.
I only took up this because it became interesting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2014-05-23
@jcmvbkbc

Put him in the wheel group, after which he can execute su -

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question