You should be able to use a linux distro without even touching sudo commands.
Why should I use sudo to add a repository?
Why should I use sudo to modify simple settings?
Why should I use sudo to install a simple update?
Why should I use sudo to install an app that is already in the repos?
>"Yeah, install this application with sudo command. Btw, we need to delete your DE. Since you allowed with sudo, your DE is gone."
>"nothing personnel"
>yes do as I say
>*does as you say*
>how could this happen to me
Dependency of a dependency of a dependency of a dependency of a dependency became malicious?
Heh nothing personnel, this little post install script you never intended to install just took over your computer. Thanks sudo
Whatever you say pajeet. Go fuck a cow.
Interesting, and how many times has this happened to you now?
Considering his esl spelling, none, and he’s a paid shill who makes 2rs an hour. To post anti-linux threads in the vain hope we see it and switch to Windows or Mac.
>pajeet bricked his system again
>better stop using Linux
>never intended to install
Then press N
Are you unaware that you're actually supposed to look at what you install BEFORE you install it? Also, nothing runs until you run it, NOTHING. There are no post install scripts, this isn't fucking windows FFS.
PEBAK problem.
>I just want to use polkit for everything
thats why you
1. configure the commands you want to be able to use without sudo, to not use sudo. You can do this on Arch or Artix. You're using one of those, right?
2. always check the .PKGBUILD . You're using arch/artix, right?
No, I'm not an updooter.
I randomly install whatever I want from the aur with yay. Currently sitting at 1860 packages. Been doing that for a couple years and never has any update broken my system.
Yay is amazing
>nothing personnel
Fuck off street shitter.
uninstall polkit, sudo, doas
chown -R user:user /
reboot
free yourself
That won’t just give you all possible permissions, just a few more. You can just setup autologin as root and do everything as root
>You should be able to use a linux distro without even touching sudo commands.
take the Puppy pill, login as root
>Why should I use sudo to add a repository?
>Why should I use sudo to modify simple settings?
>Why should I use sudo to install a simple update?
>Why should I use sudo to install an app that is already in the repos?
Because you are modifying the system.
The "apps" aren't user data, they are part of the system.
Although Flatpaks and stuff exist if you specifically want things Android-style.
sudo has got really good command completion when using bash.
t. devuan user
>waaa I don't want to touch sudo
>why should I use sudo to add a repository
So you want a remote server to be able to modify your distro without having any higher level of access? So what you are saying if you leave your computer unlocked and unattended I should be able to download anything to it.
>why sudo for simple settings
You don't always need sudo you are going to have to be specific.
>why sudo for update
Update could fail and to update you need to modify protected files and systems.
>why sudo to install app in repo?
>why sudo to add repo?
So what you are saying is you want arbitrary installation just because someone has access to your machine. Do you know what's funny windows doesn't even let you do that. That window that pops up saying yes or cancel is secretly a sudo that uses your accounts privilege to install something. The only difference is that it is less secure because they don't require you to input your password again.
>deleted DE meme
It specifically said it was going to do that and even gave him a specific prompt to warn him what he was doing was probably not what he wanted. Its not Linux's fault that some people are illiterate and can't read a simple prompt. People should be allowed to delete their DE if they want to. It shouldn't be a hidden function just because someone doesn't feel like reading.
He is right. The Debian approach to have everything system-wide installed is just sysadmin retardation.
Thankfully, the white man's package manager, Nix, lets you do user installs.
>system wide is bad
It makes more sense to do this
>nix good
Sure, but the avoiding system wide installs is not the reason. I mean if I was in a multiuser environment would it make any sense not to allow them to use packages installed to the system? Why would I want to install the same package twice just because I was too lazy to use sudo for its intended purpose.
naggers, the point of user installs isn't to replace system installs. Of course most of the system should be already there. But it's stupid not to have an option for users to complement when they need something, without having to wait a week for an authorization from IT every time they need some utility.
>but muh disk space
Users WILL use disk space anyway by doing local builds, or using Nix, or using language specific package managers that let you do user installs like pip.
Users shouldn't install software on computers, authorized administrators should
>t. sysadmin
This attitude is absolutely retarded. You can't work like that with modern software.
What? The data scientist is gonna want to install tensorflow, and he just has to pass the list of 50 dependencies through you?
>What? The data scientist is gonna want to install tensorflow, and he just has to pass the list of 50 dependencies through you?
If he's going to install it systemwide then yes, that's exactly what he must do. Because it's administrator who's responsible for computers and software that running on them. Otherwise he can do anything he want including installing and running software in userspace.
Or you could stop being a human obstacle, and separate your development servers from production servers.
The data scientist doesn't know what he wants.
Biil Gates?
Freedom
Free dumb
Captcha:R404R
>The Debian approach to have everything system-wide installed
>The Debian approach
All normal distributions since forever install everything as part of the system, that's the traditional way of doing stuff in ganoo lonox regardless the distribution.
nagger, you can't install software systemwide on Windows without admin rights either
Why would I want to install software systemwide? I'm the only one using the computer
Agree, doas just works.
doas is the same shit. just use su. you can have it function exactly like doas or sudo.
~~minimalism~~ uwu ~~
i mean you have to use su to install doas. it's just i cant be arsed using root to do basic things like shutdown and reboot, i want user to be able to do it without passwords
they have an answer for that
>login
>username: root
user accounts are bloat
>You should be able to use a linux distro without even touching sudo commands.
What is Polkit fucking mongoloid?
i dont use sudo. i login as root. user should not ever have elevated privileges. this is why debian is based. it doesnt have user in sudoers and netinstall doesnt even have sudo command, so you can install doas if and then whitelist only specific commands you want user to be able execute
log in as root
I can't believe people get filtered by shell package managers.
Typing "sudo apt-get install X" is easier than even double clicking an .exe file.
Nuking your DE as a result of trying to install something is like getting a virus because you tried to play a file named "song.mp3.exe", look at what you're actually doing and use some common sense.
>Typing "sudo apt-get install X" is easier than even double clicking an .exe file.
Lmao.
>1 hand to use mouse
>or 2 hands to type
Yeah I’m going with the thing you double click in under a second retard
>Lmao.
NTA but isn't it? Presumed you had to google the exe-file from some random site and click 'save as'.
You also need to accept EULA, click "Next" 10 times and uncheck all that malware the wizard offers.
>Why should I use sudo to add a repository?
The distro already gives you the correct repos to use. Add incorrect repos and fuck up your distro.
>Why should I use sudo to modify simple settings?
You're modifying settings that are configured by the distro's creators. Just use the settings they give you or risk fucking up your distro.
>Why should I use sudo to install a simple update?
You don't have to. Use the GUI.
>Why should I use sudo to install an app that is already in the repos?
Don't. Again, use the GUI.
dont worry systemd is gonna fix that for you since its geared toward nagger users like gnome
apt install sudo -y
just put all you apps in your home directory
Sudo was a mistake
Multi-user was a mistake. Stop turning Personal Computers into mainframes. They're called *Personal* Computers for a reason.
server os. you cannot survive on user os in day and age where internet is everything and everything tied to it
cope
Maybe making the internet everything was a mistake.
Now your turn to cope.
kek
My first linux was ubuntu and I set up Administrator, User and a Guest account on it. What a waste of time. All my newb references were in the user account so when I had to switch users to admin all my references were logged out as well. Good times. All the accounts were made early in the morning on no sleep "gonna figure this shit OUT!"
Most GNOME using distros in their default installation will usually setup all the polkit and d-bus APIs to do everything you just said sans adding repositories (discluding user flatpak repos).
Sounds like you really don't know what you're talking about or what you're doing. Please describe the issue you're having fully in the appropriate general next time.
What's thw difference between the pre-installed su and the additional sudo?
Su logs in as root and requires either elevated privileges or root password, sudo only requires the users password and elevates the command to root privilege you can type sudo su to log in as root without root password
like
said, sudo allows users to perform actions as root without the root password
also sudo lets you do uncomplicated one-line commands as root, rather than switching to root, running a command, and then exiting back to your normal user
su is actually a command to switch user, and by default it will attempt to switch to root, su requires you to enter the password of the user you are attempting to switch to, so unless you have root password you cannot su to root
however, root can su to any user without a password, so this can be bypassed by doing "sudo su" like the other guy said, but not only could you do that you could also then switch to another user account besides root by doing "sudo su [user]"
Why would I do all that if I'm signed in as an admin and had a PROPER GUI?
you wouldn't
retard
Retard? I use a computer to write invoices, estimates, customer, wholesaler and vendor correspondence. Track inventory, billing manhours, expense reports and job budgets. 4 times a year I do taxes on it and every day update data for those taxes and so on ad nauseum. Without a PROPER GUI I skip sleeping and eating. Do you understand why a proper GUI has a place (fyi I have NO love for winblows nor Mac. They simply have what is needed to be productive and organized in widely accepted formats).
Retard
What the fuck are you even on about
Meow?
Switch to Haiku, it's not a multi-user OS by default.
Did you know that on Windows you need administrator rights to remove icons from the desktop? Now that's retarded.
That's only for the public desktop so that Bob from accounting can't remove the browser shortcut and then complain he doesn't have internet anymore.
su -
And if you want to run one command as root - without sudo and without login s root - just:
su -c <command>
flatpak install fuck_naggers
Nothing personal, kid
you should be able to use windows without ever hitting "allow" on a uac prompt
why don't you just configure your sudo like you wish? you could just set it so nothing requires a password. this is not w[ndows you can do whatever you want
I still don't know how to shut down a computer from the terminal without using sudo.
Because it's a multi-user OS at core. It's so you can't shut down the whole supercompute cluster(they still run linux in 2023). Not much point to it on a deskop OS but not a big deal really.
> Modifying system settings should be able to be done by any user on a mainframe Unix OS
> Same goes for installing systemwide packages
Yes. I switched to pkexec. It spawns a cool graphical password prompt unlike sudo and doas
You can compile and install almost anything you want without privilege escalation(or dl precompiled binaries where available). You need sudo to install OS packages because the OS directories(eg /usr) are protected from your normal user, as are package metadata etc.
Someone probably already mentioned it but you don't need sudo. Just install flatpaks, for system updates there are DE widgets that allow you to do it without sudo, or just use automatic updates.