I have been encountering "user is not in the sudoers file. this incident will be reported" issues lately with Ubuntu installs.
In previous versions of VB with Ubuntu Guest, I never had this problem. I suspect it is something to do with the latest installation GUI/procedure. How to avert this inconvenience?
Ubuntu root user issue
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Ubuntu root user issue
Are you using the Unattended Install feature?
Re: Ubuntu root user issue
Try this again, I get the same message post-installation.
It appears with: sudo -i
But su works ok.
It appears with: sudo -i
But su works ok.
Re: Ubuntu root user issue
@scottgus1 No, otherwise I cannot select my own un, pw and ga.
I also cannot access the VM Settings prior to the install as with earlier VB Manager new installs.
These issues are very annoying!
I also cannot access the VM Settings prior to the install as with earlier VB Manager new installs.
These issues are very annoying!
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Ubuntu root user issue
Thanks for the info.
Please post a link to the Ubuntu ISO you're using. I'll try it.
Please post a link to the Ubuntu ISO you're using. I'll try it.
Re: Ubuntu root user issue
I tried Ubuntu 18.04, 20.04 and 22.04 guests on a Windows 10 host.
https://releases.ubuntu.com/18.04/
https://releases.ubuntu.com/focal/
https://releases.ubuntu.com/jammy/
https://releases.ubuntu.com/18.04/
https://releases.ubuntu.com/focal/
https://releases.ubuntu.com/jammy/
- Attachments
-
- 2204.jpg (16.53 KiB) Viewed 2246 times
Re: Ubuntu root user issue
I will post a solution to my own question.
When installing a new machine, use 'Skip Unattended Installation', but only after changing the username and password in the next step, then return to the first step. Also select 'Guest Additions'. This also provides a way to go into 'Settings' before launching the machine.
When installing a new machine, use 'Skip Unattended Installation', but only after changing the username and password in the next step, then return to the first step. Also select 'Guest Additions'. This also provides a way to go into 'Settings' before launching the machine.