A root user issue - What should I have done to salvage the system
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A root user issue - What should I have done to salvage the system
So here’s what happened. When I setup my system, I created the user mythtv. Now just before I was about to install mythtv, I decided that I wanted to only create this user after the installation of MythTV. So I created a new user – jongi. However, I neglected to ensure that this here user had the ability to be a sudoer. Unfortunately I only realized this after the successful deletion of mythtv user.
What would have been the best way of getting a sudoer user?
I have since just installed the full system. A bit of bore seeing as I’ll have to go through downloading around 250MB worth of data again. I think this will lead me to create a root user.
in grub press e to edit the normal boot line. stick a "1" on the kernel line there, hit enter and then "b" to boot. this will log you in in single user mode. then edit /etc/sudoers and add the relevant entry for your user. reboot. enjoy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.