Isn’t it enough to just enter your password once to login, then receive a warning whenever you’re about to do something potentially dangerous?
If it’s such a big security risk, how come the most popular and widely used operating systems in the world and their users seem to be unaffected by it?
I guarantee, most new users coming to Linux from Windows/macOS are going to laugh and look at you funny if you try to justify entering your password again and again and again.
FYI, you don’t need to either on linux. Look up sudo.
Then why is it when I use sudo, it asks for my password? Huh? Yeah, if I’m quick and run another sudo command within a minute or whatever the time limit is I don’t need to enter it again, but it usually times out by the time whatever I was doing finishes.
real power users just enter blind every sudo command they have to perform for the day while the first one is running. Keep up.
You didn’t look into it enough. Edit the /etc/sudoers file if you don’t want to be asked to enter a password.
I didn’t say I don’t want to use a password. I was simply asking why it still asks for a password every time when using sudo because the person I responded to made it sound like using sudo meant not having to enter a password.
And you can indeed use sudo without using a password.
Well evidently you didn’t look up sudo. There is a sudoers file where you set up commands that can be run by users without asking for a password. It is very detailed and can go from anyone with sudo access can run anything without a password prompt to user x can only run a certain command with certain command line options. There’s some serious lack of experience showing in this thread. Thinking about it, yeah, better yet, stay away from sudo if you can’t grasp basic admin functions.
There are a lot of people just getting into Linux that are here to learn. Take your gatekeeping bullshit and shove it up your ass.
Take a pill there… How would you like them to learn? By running some command with sudo that they don’t understand and blowing away their system? Because that’s what can happen if you don’t understand what you are doing. It’s not gatekeeping, it’s being realistic with what can be done when you are playing around with things like sudo.