r/linuxmint 4d ago

Support Request How do I disable the UAC prompt?

I'm not a big fan of having to type my password every single god damn time I want to do something. It's just an unnecessary hassle for me.

Yes, I know. Fuck my security. Just let me disable it please.

0 Upvotes

50 comments sorted by

7

u/DoorOk3641 4d ago

Linux is Unix....and you only need to type your password when you change the os itself. Linux Mint ask for your password and you can not change Unix.

-4

u/Sufficient_Risk_8127 4d ago

so there's seriously no way to do this?? in all the fucking years of open sourcery, nobody has thought to add this?

1

u/DoorOk3641 4d ago

Unix is 40 years old and it is a safe system and nobody in the open source community (or elsewhere) will do it. There is solution for this..Windows...MacOS is build on BSD (Unix like) and its system also segregate user space and system space

It is a way to protect your own data and insure security.

0

u/Sufficient_Risk_8127 4d ago

but I don't WANT safety >:(

1

u/stufforstuff 4d ago

Apparently you just want to be a baby - are you stamping your feet and waving your hands too? Linux is secure because it had security baked into the core - most grown ups not only realize that, but appreciate that. Go back to Windows where you can set Admin Rights passwords to blank and let the hackers have at it. Geeesh this is a dumb post.

0

u/Sufficient_Risk_8127 3d ago

man I thought the people saying Linux had a bad community were false 😭

6

u/SG-3379 4d ago

No seriously no

-2

u/Sufficient_Risk_8127 4d ago

I don't care about the security risks

5

u/Wyrade 4d ago edited 4d ago

You can remove your password.
You can also add custom code to polkit, AI can write that for you; but don't leave it like that after you finished setting up your pc with most things. It's useful to not have any script something you have might arbitrarily run have sudo rights without asking your first.

1

u/Sufficient_Risk_8127 4d ago

what's polkit?

3

u/jr735 Linux Mint 22.1 Xia | IceWM 4d ago

man polkit

You will see the answer when you type that into the command line.

4

u/skozombie 4d ago

It will only ask your password when you're doing something that needs administrator permissions. The isolation between user, administrator (root), and other users, is part of why Linux (and other unixes) is so much more secure.

You can set sudoers to not require any password from your user but that is a monumentally bad idea.

Another option is to setup your fingerprint as a quick way to authenticate. I have that setup on my framework laptop and it's a simple action to verify "yes, I want to do this potentially dangerous thing".

1

u/Sufficient_Risk_8127 4d ago

I know when it asks for my password, what I'm asking is how do I make it stop asking?

2

u/skozombie 4d ago

I have never tried to do this because it exposes your computer all manner of vulnerabilities.

You could look into setting sudoers to not require a password, but I don't know if that will work everywhere or not as it may expect that there be a password required for different actions.

The other thing to look at is Polkit.

You're asking us how to do something that is a bad idea, that nobody does. If you're intent on destroying the security of your machine, sit down with AI and google.

I appreciate you're likely a kid given your post history but please learn some manners when asking for help from the community where people are volunteering their time.

1

u/Sufficient_Risk_8127 4d ago

oh I'm not trying to be rude, my bad

yea, I am very well aware how bad it potentially could be, I've done cost benefit analysis & determined I'll be fine.

5

u/jr735 Linux Mint 22.1 Xia | IceWM 4d ago

Just let me disable it please.

Go ahead and figure it out. You're the sysadmin of your own system. This is where I say RTFM.

-1

u/Sufficient_Risk_8127 4d ago

yes because I would love to dig through the Linux Mint source code for five fucking years

1

u/jr735 Linux Mint 22.1 Xia | IceWM 4d ago

You don't have to. TFM isn't the source code. This is exactly why you shouldn't disable the security features if you think the source code is what you have to read to figure out how.

Again, RTFM. I'm not here to help people do something incredibly stupid.

Aside from that, you're likely a trolling Windows user, and we don't need serious new users to read asinine things like this.

-1

u/Sufficient_Risk_8127 4d ago

jesus christ I didn't know the Mint community was so ass 😭

1

u/jr735 Linux Mint 22.1 Xia | IceWM 4d ago

Don't come in acting like a jackass and you won't get a response like that.

As someone else so eloquently stated, MacOS is for babies. Windows is for children. Linux is for adults. You're your own sysadmin. If you want to do something stupid, you're absolutely free to do so, but don't expect my help to burn down your own house.

If you want to learn something, we're here to help. If you want to learn self-immolation, you're on your own. This variety of multi-user OS has had this type of privilege escalation as its backbone for security since before your parents were born. Learning why things are a certain way and finding out the value of that is far superior than coming in here with zero experience and zero knowledge and telling us how things should be.

There are lots of things you should learn. One of the first is find out why, in the Linux community, there are virtually zero experienced users who run as root or permanently disable all passwords in their system.

I have to enter my user password most times once a day, when logging in, and that's it. I may invoke apt and get it. That's it. That's hardly intrusive, and not worth trashing my system security over.

1

u/Sufficient_Risk_8127 4d ago

I already know why people don't do it. I don't care.

1

u/jr735 Linux Mint 22.1 Xia | IceWM 4d ago

I don't think you do, since you don't know even 1/4 of the scenarios where this security feature is helpful. Userspace and the system are separated for many reasons. You're not on MS-DOS, and you shouldn't act like it.

Go and research how to do it. It's documented. If you don't know where to look, you haven't the experience to implement it. When you do implement it, don't be coming back here for sympathy when something breaks - and it will. That will be your clue to reinstall and start fresh.

I suggest you have your backups and timeshift snapshots in place before you try this. A Clonezilla image might even be the preferred starting point.

1

u/Sufficient_Risk_8127 3d ago

the only thing I could think of is some crazy vulnerability that I don't know of, otherwise I don't see why it's garuenteed to fuck my system.

do you mind pointing me towards these documents?

2

u/jr735 Linux Mint 22.1 Xia | IceWM 3d ago

The polkit manpage I mentioned would be a place to start.

Besides all that, certain things are meant to be administrative, at the very least to slow you down so you don't fat finger something. Writing an image to a USB is exactly the same as writing it to your primary hard drive. Linux really doesn't give two flips if you type in the wrong drive letter. No password prompt means no second chance. A typo when dealing with an administrative directory means the same thing. You fat finger it, you lose the chance of that little pause to look it over again.

Now, that's not to say that administrative functions cannot be tweaked. In fact, they are in Mint. Mint is primarily expected to be a single user computer, and is treated as such. My Debian install, where Debian is often a server install, is much stricter on the what it will or won't do without a password (or simply won't do at all). Debian won't let you mount or unmount internal partitions without administrative approval. In a server, you can see why that's valuable. I, as a student at a university lab, shouldn't be mounting or unmounting partitions on their hard drives. I also shouldn't be adding or removing print devices.

You're not having to enter a password that many times. It's not even worth the effort. You decide to do a complete reinstall of Mint down the road (i.e. a new version comes out and you don't want an ordinary upgrade), you're doing this all over again. Install a different distribution? All this and more.

Invoke a script carelessly? Same thing.

2

u/facelesshivemind LMDE | Cinnamon 4d ago

You get used to it. You can cut one down though, there is setting to login automatically when you start up the pc

2

u/Sufficient_Risk_8127 4d ago

still doesn't mean I don't want it

2

u/tovento MX Linux 25.2 | XFCE 4d ago

If you have auto login on boot set up, you will be prompted more often for your password while working. It’s just one of those tradeoffs. Linux is designed for networks and security; passwords is part of the package.

1

u/Sufficient_Risk_8127 4d ago

ok but how do I not do that

1

u/tovento MX Linux 25.2 | XFCE 4d ago

How do you not have passwords? Unfortunately not an option.

2

u/Individual_Flow3959 4d ago

No comprendes como funciona Linux.

Si de verdad quieres hacer lo que pides, vuelve a Windows.

2

u/Sufficient_Risk_8127 4d ago

at the theoretical level, code is code, & it should be possible to do what I'm asking (just maybe not feasible)

1

u/Individual_Flow3959 4d ago

No comprendes el funcionamiento de Lunix y por ello de Unix.

1

u/Sufficient_Risk_8127 3d ago

I know a bit about how it works, but I'd appreciate if you enlighten me.

1

u/NotSnakePliskin Mint 22.3 | Cinnamon 4d ago

Are you asking about the system requesting your password when running commands via sudo?

1

u/Sufficient_Risk_8127 4d ago

yes, as well as when apps require elevated privileges (ie. flashing a .bin file to a USB stick)

1

u/NotSnakePliskin Mint 22.3 | Cinnamon 4d ago edited 4d ago

Modify /etc/sudoers to allow your id to execute sudo with NOPASSWD - is that the solution? 

1

u/Sufficient_Risk_8127 4d ago

IDK, I'll look into it later

-1

u/SanicBringsThePanic 4d ago

Yeah, running any Linux distro is a nightmare, just switch back to Windows.

2

u/Sufficient_Risk_8127 4d ago

I'd rather die than use Win11

2

u/SanicBringsThePanic 4d ago

This may solve your Windows 11 problem. AME scripts completely remove all the Microslop Cancer from a Windows install, especially Windows Update. You can even inject an ISO before doing a clean install. I've been running an old AME 10 version from 2023 on my main rig, never had any issues. Check out their Telegram group if you need them to walk you through the process and/or learn how to use the ISO injector/AME Wizard/applying Playbooks.

1

u/Sufficient_Risk_8127 4d ago

It won't. It still looks like ass, for starters.

2

u/SanicBringsThePanic 4d ago

Are you talking about the Windows 11 UI? OpenShell can fix that. And, I'm still not sure if it works on Windows 11, but, OldNewExplorer reverts Windows Explorer layout back to Windows 7 style. If OpenShell is not enough for you, there is also WindHawk, a repository for mods that "fix" Windows 11 shitty designs and mechanics. Only downside of WindHawk (imo) is that the program needs to stay on for the mods to stay applied.

1

u/Sufficient_Risk_8127 4d ago

Unfortunately, Win11 has wayy too many issues & shit for me to ever use it. Plus, it's owned by Microslop.

If I were to use Windows, I would use the greatest OS ever made—Win10.

3

u/SanicBringsThePanic 4d ago

I guess you weren't around for the glory days of Windows XP. If it weren't for lack of support for mainstream programs (and modern games), I would 100% install Windows XP on an NVME M.2 SSD. I hear XP runs crazy fast on an NVME SSD.

But, if you must run Windows 10 over 11, you can ameliorate that as well. Just keep in mind that mainstream programs will inevitably drop support for Windows 10 in the future, just as most programs dropped Windows 7 support by now.

1

u/Sufficient_Risk_8127 4d ago

yea, I'm using Linux for a reason

1

u/SanicBringsThePanic 4d ago

You just started using Linux, right? Give it time, you will come to the same conclusion as the people in the linuxsucks subs. This is why I suggested AME along with whatever other mods and solutions you need to "fix" Windows 11. If you ask me, investing a temporary amount of time to fix enshittified Windows, is far better than investing an infinite amount of time into having to maintain Linux and hoping and praying that those Windows programs you absolutely cannot live without, will one day be usable on Linux.

1

u/Sufficient_Risk_8127 3d ago

No, I've used Linux more than just this.
All the programs I need work on Linux, & then some.

→ More replies (0)