Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I need to use the root account - i.e. log on as root from the start.

I'm not interested in sudo or getting temporary root privileges.

And with the greatest of respect- please no warnings about root or it not being best practice! I've seen a few threads on this and the focus seems to be more about not using it rather than a clear set of instructions to enable the root account. Every thing suggested does not work.

I just need to be presented with a root account when I boot up my machine.

I would therefore be grateful for a concise set of instructions without the string of dire warnings. It would be great to pin such a guide as there seems to be so many versions.

Thank you

share|improve this question

marked as duplicate by bodhi.zazen, bain, Luis Alvarado Jul 29 at 1:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
This very much looks like an X-Y-problem. Please tell us why you need exactly this approach. Usually sudo - i accomplishes everything you should need. –  guntbert Jul 28 at 13:56

1 Answer 1

Root user already exist in PC but password is not setup.

Just you need to do

sudo passwd root

that's it.

then you can do as normal logs as user.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.