Want to add a new SUDO user

Hi,

I want to add a new SUDO User to my Gardua desktop...

I already created a new users using the "useradd" command, gave it a home-directory, and password..

I also changed it's shell to Fish from Bash (which came as default for some reason)..

Having trouble with the following things:

  • want to add the "newuser" to sudoers file. However, online guides tell to use sudo visudo, but visudo is not opening.. it says "visudo: no editor found (editor path = /usr/bin/vi)"

  • How to enable starship on newuser?

Thanks,

Read here.
I think you should set your EDITOR (default is vi).
https://wiki.archlinux.org/title/Sudo
For starship I think this could apply
https://starship.rs/guide/#fish

2 Likes

You don’t need that.
Just add the new user to wheel group.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.