By gentlecalm
I’m using Ubuntu 14.04 on my server.
Good security practice recommends disabling root.
I’ve created a non-root-user with a non-root-user’s-password in the sudo group.
So far so good.
Here’s my question.
Usually, when I do sudo, Ubuntu asks for the root password. If I disable root, then what will happen when I do sudo? Will it still ask for a password? If yes, then which password will it ask for? If no, then how will it double-check that I am a legitimate sudo user?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Apparently, when using sudo one is not asked for the root password but for the non-root-user password. So I guess my question is a non-issue.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.