Comment on desktop user password issues. can't do squat in desktop.
NateNate60@lemmy.world 1 day ago
I’m not sure exactly what causes this, but you can work around it as long as you can actually run commands as root (i.e. using sudo
) in the terminal.
The command to add a new user is adduser
.
The command to add a user to the administrators group (i.e. give them the ability to use sudo
) is usermod -aG wheel
.
These commands should be run as root by prepending sudo
.
ColeSloth@discuss.tchncs.de 1 day ago
I’m trying to sudo in a user or elevate deck to admin. Either way if I try to sudo anything, I get asked " [sudo]password for deck: " and when I put in a password it says " deck is not in the sudoers file. "
So I haven’t been able to do anything worthwhile, yet.
NateNate60@lemmy.world 1 day ago
If you know the root password, then you can switch to the account called
root
using thesu root
command.The sudoers file is located at
/etc/sudoers
. Do keep in mind that this file should not be edited directly. You can use thecat
command which will print the content of a file to the terminal. So trycat /etc/sudoers
.ColeSloth@discuss.tchncs.de 1 day ago
I’m unable to su root or access the sudoers file. I’m going to try using a steam os image file on a flash drive to reinstall my steam deck os.