Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create a user with sudo permissions (if booted from the ISO)? #47

Closed
sudo-joe opened this issue Apr 14, 2022 · 1 comment
Closed
Assignees
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@sudo-joe
Copy link

Hello list

just booted my PC from the newly remasterd cubic ISO (Ubuntu 18.04 LTS DVD)

If I try to use "sudo", the following message is shown:

[sudo] password for test:
test is not in the sudoers file. This incident will be reported.

Question:
Is there a way to fix this in the cubic environment before creating the ISO?

Thank you very much in advance for your help!

Joe

PS
By the way, your explanations are excellent in all of my recent posts/questions :)

@sudo-joe sudo-joe added the question Further information is requested label Apr 14, 2022
@PJ-Singh-001 PJ-Singh-001 self-assigned this Apr 17, 2022
@PJ-Singh-001 PJ-Singh-001 added the duplicate This issue or pull request already exists label Apr 17, 2022
@PJ-Singh-001
Copy link
Owner

PJ-Singh-001 commented Apr 17, 2022

Here is how to create users for two scenarios:

  1. If you want to create one user that is available after installation, use the preseed technique as shown in step 6 here.
    (Be sure to include sudo in the passwd/user-default-groups list).

  2. If you want to create user(s) available in the Live environment (and after installation), create the user(s) in Cubic's Terminal page, as shown here.
    (Be sure to execute usermod -a -G sudo <user> for each user that requires sudo privileges).

@PJ-Singh-001 PJ-Singh-001 changed the title cubic user abcd is not in the sudoers file (if booted from ISO) How to create a user with sudo permissions (if booted from the ISO)? Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants