Always have elevated status

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jack0987
Level 3
Level 3
Posts: 127
Joined: Fri Jul 18, 2014 9:24 pm

Always have elevated status

Post by jack0987 »

I am the only one who has access to the computer and there is nothing on it that needs to be secure.

So I do not have to type sudo all the time, can I elevate myself when I log on?

Please tell me how to do this. Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Aztaroth
Level 5
Level 5
Posts: 764
Joined: Mon Jan 11, 2021 1:48 am

Re: Always have elevated status

Post by Aztaroth »

jack0987 wrote: Mon Sep 20, 2021 2:53 pm I am the only one who has access to the computer and there is nothing on it that needs to be secure.

So I do not have to type sudo all the time, can I elevate myself when I log on?

Please tell me how to do this. Thanks.
Wrong, pal. You're not the only one. Mint,Ubuntu, PPAs, flatpaks, drivers install, scripts... have all access to your computer when upgrading, installing... The sudo password is a reminder something will perform a task with root privileges and you're asked to check that behavior and allow or disable it.
That's why, for example, an anti-virus is not needed on Linux systems : you are the AV :D .
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
jack0987
Level 3
Level 3
Posts: 127
Joined: Fri Jul 18, 2014 9:24 pm

Re: Always have elevated status

Post by jack0987 »

Well I need to do something. I was trying to edit a config file with the text editor and it would not save my changes.

Anyway, I still want to do as I asked.
User avatar
shedyed
Level 4
Level 4
Posts: 310
Joined: Wed Feb 03, 2021 5:12 pm

Re: Always have elevated status

Post by shedyed »

There was this person I encountered in a linux IRC channel, where I found out that he was used to doing everything as root. Whoa, where'd you learn to do that. He replied that he was getting tired of those error messages. But then he was so used to doing anything/everything this way that the normal random error message wouldn't have any meaning to him -- he had gotten so used to bulldozing his way through, that he ended up with an unusable system.

There is always the danger of breaking stuff, just when you thought that you had learned a lot. Then you find out you've been learning to use it the wrong way all this time.
User avatar
zcot
Level 9
Level 9
Posts: 2834
Joined: Wed Oct 19, 2016 6:08 pm

Re: Always have elevated status

Post by zcot »

jack0987 wrote: Mon Sep 20, 2021 2:53 pm I am the only one who has access to the computer
Well, until you connect it to any network.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: Always have elevated status

Post by Hoser Rob »

What you're talking about is root access, which is disabled by default in both Mint and its Ubuntu base.

For good reason. Even in bigger Linux/Unix multiuser systems where there are a bunch of professional programmers on staff, the only user with root priviliges is the system administrator.

If you log in as root, the OS will at all times assume you know exactly what you are doing and will happily let you completely wreck the OS.

So stick woth sudo. I've never enabled the root account in Ubuntu or Mint. Not necessary.

BTW the reason you couldn't change that config file was that it was stored in the root (/) folder. That area is highly protected. To change a config file in / with your simple text editor do:

Navigate to the / folder with the file in file manager, right click and select "open in terminal" or watever it says for your FM, then enter, with the approppriate substitutions for your software:

pkexec <text editor> <config file>
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Locked

Return to “Beginner Questions”