1 click authentication?

One thing that annoys me on Linux is that I have to write down my password everytime an application asks for admin permissions. Is there a way to allow it with just a click, like on Windows?

1 Like

Everything is possible under Linux differently than under Win.
If you want to do without security then use Win 10, please.

4 Likes

So how would the software know if it's you or not, if it doesn't need any identifying input?

Any user can click "Yes"/"Allow".
Only you (hopefully) can type in your password.

5 Likes

Be honest, how often is that? I can use my computer for weeks without having to type my password, except for one thing: updates.
If you are one of those people who like to tinker with their computers then yes, in Linux you have to type your password. Get used to it. Or, as @sgs also wrote: use Windows.

4 Likes

Ho! Ho! Ho!

1 Like

I was already expecting it to go down like this but damn you guys. Yes, I like to mess about a lot and I have to type in the password like 10 times a day and that bothers me; I just wanted it to be like Windows ("you can modify Linux to be whatever you want" right?) where I click "Yes" and that's it.

But noooo. YoU aRE nOt sEcURE doINg ThAT. So what?
There's no one to use my computer; so what if I want it to be easy and casual? Is that not allowed here?

I just asked if a little tweak is possible. What is wrong with you all?

"Hey, can X thing be done like on Windows?"
"Get used to how it is here, casual. You want it easy go back to Microsoft"
"???"

Here's the problem with the question and the problem with your understanding.

Windows and Linux are fundamentally different.
Yes, you have a tremendous amount of freedom in Linux. A lot more than you do in Windows.

But there is a clear distinction between user and superuser because there has to be.

If you want to change how the security works on your machine. Do some research and make the change.

I doubt anyone here will help with that because it's a recipe for completely breaking your system.

PS. If the kernel you're using is the one in your profile? It's EOL ie. dead as a doornail, you should update unless you don't want to.

PPS. You need to relax. You said you were expecting this reaction and then you get butthurt when you do actually get the reaction?

:woman_shrugging:

11 Likes

You might want to look at this page, if you're using sudo and annoyed at having to enter your password all the time. I had an entry so that a certain command I used during backups didn't need a password as the backups tend to run in the middle of the night. Further down, you can see instructions to change timeout on how long the password is retained.

You can do something similar with Polkit/Policykit but I'll leave you to look that up as I've never messed with it.

Please be aware you are damaging security, but if you're a home user it might be worth the trade off.

3 Likes

I'm also very lazy typing passwords, I prefer to set up a fingerprintreader or a password manager. If you use a password manager like keepassxc, you can setup the autotype password with a keyboard shortcut like ctrl + p.

3 Likes

Just make sure you always log in as root, and then you can get your system compromised to your heart's content, and you can aid the bad guys in automatically spreading malware and mining bitcoins for them. Just like in Microsoft windows. :grin:

Seriously, this is Manjaro, a serious and top-quality GNU/Linux operating system. If you want a toy that you can act irresponsibly with, use Wintendo Windows. And make sure that it's not connected to the internet.

I'm an administrator at two forums, and guys like you are why guys like me have to add dozens of IP ranges to our servers' firewalls every day in order to block the botnets that are hitting our inbox with spam for porn sites and Viagra by way of the forum's contact form. :frowning_face:

7 Likes

I'm sorry. I didn't know it was so tied to the whole system; it's just that happens everytime when I'm just asking for something simple related to Linux and instead of answering people prefer to despise and I got tired of that.

Of course! You would think that at least on Manjaro, a new-user friendly distro, people would be nicer.

Try your luck at the Arch forum ─ you'll quickly find out who the nice people are. :stuck_out_tongue:

9 Likes

We're nice, in other forums you wouldn't have got an answer at all.

3 Likes

Ok, that's fair. There's a mountain of stuff in linux I know zero about.

So, perhaps it would be a good idea to get some information on the subject? Get a bit more informed?

You can start here. It's not terribly long but it has some good starting information. There's a lot of reference links as well so you can continue the learning on things you find interesting.
https://wiki.manjaro.org/index.php?title=Linux_Security

You don't need to become an expert by any means but there's no harm in getting a little education. Right?

The Arch Wiki is also a fantastic resource but bring a sandwich and a big tasty beverage because their Wiki entries are pretty long. Some are like Dostoevsky long. :wink:

6 Likes

@Zenurik, it also helps reading up a bit on the history of operating system design. The reason why Microsoft Windows is so promiscuous is that Windows was never designed to be an operating system in a networked world.

  • Microsoft Windows started off as a graphical user interface ─ initially only as a tiling window manager, later also with support for stacking ─ for MS-DOS, a single-user and single-tasking operating system for standalone computers without a network adapter. Later on, and with inspiration from OS/2 ─ an operating system that was (initially) jointly developed by IBM and Microsoft as a successor to DOS ─ Windows also begot a built-in DOS memory extender and a primitive cooperative multitasking governor.

  • GNU/Linux on the other hand is an operating system comprised of two separately developed components, one being the GNU system (developed in 1983-1984) and the other being the Linux kernel (developed in 1991), and both of those components were modeled after UNIX, a multitasking, multi-user operating system for minicomputers and mainframes that was developed at AT&T Bell Labs in 1969 and then improved at the Berkeley University of California in 1970, and which was itself modeled after Multics, an experimental mainframe operating system in use at AT&T Bell Labs at the time.

For Microsoft, security has always been irrelevant in favor of the usability of Windows as a kitchen sink appliance, and even now today, the security subsystem in Windows is still the same old bolted-on (and bypassable) afterthought. By contrast, UNIX, and by consequence GNU/Linux, has always been about security and the principle of least privilege. Windows was designed to be sold, while UNIX was designed to be used.

There are Windows-wannabe GNU/Linux distributions that allow you to run everything as the root user ─ Puppy Linux, for instance, although Puppy is more designed to be used as a live CD than as an installed distribution. But it's a Very Bad Ideaβ„’ to go down that route.

2 Likes

And equally gloomy and distressing. :laughing:

5 Likes

Then log in as root but when the excrement hits the fan (and it will) don't come running to me for help.

OR store the password in your clipboard buffer and that will at least save typing it over and over.

The password protection is there for a reason, Windows default policy is pathetically weak.

UAC is badly flawed (about as much use as a chocolate fireguard in fact) and has been since it's introduction with Vista. Professionals setting up new Windows hardware will leave it at the default setting for home users but for corporate configurations we rely more on Group Policy Editor to set a higher security baseline which restricts and allow certain actions. Then it's handed over to their own IT engineers to further test and feedback so we can restrict or weaken the policy to the company requirements with their connected equipment and bespoke software foibles.

4 Likes

Please stop telling them to log in as root or do nothing. Both sudo and Polkit can be adjusted to keep passwords for longer times (sudo can keep them until you log out if you want) and/or to not ask for passwords with certain programs. I linked the sudo arch wiki page above which has instructions to do just that. It's not an unreasonable request.

8 Likes

You want it; you write it. It's just that simple.

2 Likes

Forum kindly sponsored by Bytemark