21
9
6
u/fantomas_666 Dec 18 '25
Looks like you have entered root password when installing system.
Now, you must use "su" and enter root password, as some said, then you can add yourself to sudoers group, if you don't want to use "su".
1
2
u/jr735 Debian Testing Dec 19 '25
2
Dec 24 '25
[removed] — view removed comment
1
u/jr735 Debian Testing Dec 24 '25
It even mentions it in the install, so it really shouldn't surprise anyone.
2
8
u/ElectronicImam Debian Stable Dec 18 '25
Became root:
su -
give root password, then:
adduser snypse sudo
2
42
u/TRKlausss Dec 18 '25
This incident will be reported.
4
u/Fragrant_Objective57 Dec 18 '25
The computer is your friend. The computer wants you to be happy. Failure to be happy means you will be used as reactor shielding.
3
2
6
u/S0LIDFLAME Dec 18 '25
sudo - grants privileges to a user, but you must first configure what your user can do, more details here. Current sudo rules can be found at sudo -ll.
Similar to run0 - it doesn't need to be configured, after entering the command, you must enter the superuser password. Example run0 apt update
You can also enter the superuser shell with su -, enter the password, and issue the command under root, then exit with exit. Example:
su -apt updateexit
2
u/Cynyr36 Dec 18 '25
su -c "apt update && apt upgrade"works pretty well too, and you don't need to remember to exit.1
u/S0LIDFLAME Dec 18 '25
That's right. I wrote it that way because it's easier for a beginner.
2
u/Cynyr36 Dec 18 '25
On a single user desktop i just don't see the point of sudo/doas. Just use
su -cinstead. You type the root password instead of the user password, but same same.
3
u/Additional_Draft_690 Dec 18 '25
First, run su and put your root password. Then, run visudo. Add this line at the end: <yourusername> ALL=(ALL) ALL Save and exit. Your problem should be solved.
2
u/j0x7be Dec 18 '25
Add yourself to the sudoers file with visudo, or add yourself to the sudo group, which also will be shown by running visudo. Most replies shows how to add the user to the group.
2
2
1
u/Kqyxzoj Dec 18 '25
That useradd stuff other people have already explained. And also man sudo.
0
1
1
1
Dec 18 '25
From the previous responders, all very useful clues that do work, and that you really should know about, but all of that just in order to use flatpaks?!
You really owe if to yourself to try to learn more about Debian than merely the possibility of using flatpaks. They should only ever be a means of absolutely last resort.
0
u/balancedchaos Dec 18 '25
So it's not something I personally do, but this does present an interesting paradigm: a rock-solid Debian base with up-to-date software.
Yes, backports, testing, Sid...but there's more than one way to accomplish something. It's...interesting in a way that's not personally for me. Lol
2
1
u/leinadsey Dec 19 '25
To be fair, I think the installer should ask if the user wants to be added to the sudo list, especially if the install is a single-user desktop environment. This is just one of those things that confuse new users and scares them away from using linux.
1
Dec 19 '25
[removed] — view removed comment
1
u/leinadsey Dec 19 '25
…and this is why linux is really conquering the desktop world isn’t it.
Yeah sure they “should”
1
-1
u/Gerb006 Dec 18 '25
Apprehensive_Log nailed it. But that is not one solution, it is actually BOTH solutions. You really don't need to do ANYTHING, except STOP using SUDO. From the command prompt, just type 'su - <enter>'. Then enter the root password. The prompt will change from '$' to '#', indicating you are now opperating as root. Type your apt command again WITHOUT 'sudo'.
2
Dec 19 '25
[removed] — view removed comment
1
u/Gerb006 Dec 19 '25
Thank you. Although I disagree with one thing that you said: 'Many other distros do this better.' IMO debian does it PERFECTLY. Personally, I choose to use debian because it does not 'force' me to use sudo. I can install it if I want to. But I am not forced to use it. I know the risks. I choose to use debian because it allows me to accept those risks. I am not willing to sacrifice freedoms for security. Some people may be. I am not. But thank you nonetheless.
-2
0
-9
u/Complex_Scene_3628 Dec 18 '25
sudo has to be installed.
su -c “apt install sudo”
or you can install doas or just use the su -c “command here”
once sudo is installed add the user to the sudo group
7
u/fantomas_666 Dec 18 '25
sudo is obviously installed as it asks for sudoers
-12
Dec 18 '25
[removed] — view removed comment
1
u/fantomas_666 Dec 18 '25
sudo gets installed and user configured and install time is added to the sudo group when the root password is not set at install time.
I don't remember if sudo gets installed when you do set root password at install time, but any user configured at install time is not added to sudo group in such case.
1
u/georgehank2nd Dec 18 '25
Yesh, wiseass, if sudo weren't installed, the shell would just report an error instead of sudo asking for a password.
0
u/Complex_Scene_3628 Dec 18 '25
lol i really don’t care. i find it ridiculous more people are offended i told someone being snotty to me to fuck themselves than someone being a prick because i tried to be helpful and am imperfect. whatever you’re right im wrong you’re smart im dumb you can fuck each other
1
u/georgehank2nd Dec 19 '25
You were not "imperfect", you were screamingly obviously wrong. And fantomas_666 wasn't "snotty" by any of the normal definitions of the word.
But you do you. If you know what I mean.
-3
Dec 18 '25
[removed] — view removed comment
1
u/RebTexas Dec 18 '25
That escalated quickly
1
0
Dec 18 '25
[deleted]
4
4
u/CardOk755 Dec 18 '25
I tried that. It said "sudo: command not found" and none of my applications work.
2
95
u/[deleted] Dec 18 '25
Become the root user with :
su -Add yourself to the sudo group :
usermod -aG sudo snypseThen log out and log in or juste reboot