become superuser [solved]

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
anakin

become superuser [solved]

Post by anakin »

Code: Select all

marco@marco-X555LPB / $ su
Password: 
su: Authentication failure
I can not become superuser.
do I have to activate something?

the password is correct and I can use the command "sudo"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Moem
Level 22
Level 22
Posts: 16233
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: become superuser

Post by Moem »

This article will explain it. I assume you've used a different distro before? The way Mint (and Ubuntu) handles root rights is a bit different.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
User avatar
Pjotr
Level 24
Level 24
Posts: 20120
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: become superuser

Post by Pjotr »

anakin wrote:

Code: Select all

marco@marco-X555LPB / $ su
Password: 
su: Authentication failure
I can not become superuser.
do I have to activate something?

the password is correct and I can use the command "sudo"
Becoming superuser is not the way Linux Mint is designed to be used. Why do you want this?
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: become superuser

Post by Hoser Rob »

It's actually recommended in Mint (and its Ubuntu base) that new users don't create a root password. They're aimed at inexperienced users and for that reason there's no root password set by default. Distros aimed at more advanced users do set a root password when you install, eg. Debian, which is the base for Ubuntu/Mint but is not noob suitable.

Linux will assume you know EXACTLY what you're doing if you're root. You can cause a lot of damage andit won't give you any warning. One of the differences between Linux and WIndows is that in WIndows you just THINK you're the administrator. In Linux you really are.

So my suggestion is that unless you have a spare computer that you don't need, and therefore can afford to break the OS, don't bother. You can do everything you need to with sudo and gksudo or kdesudo. I don't have a root password.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Faust

Re: become superuser

Post by Faust »

Hoser Rob wrote:.... Distros aimed at more advanced users do set a root password when you install, eg. Debian, which is the base for Ubuntu/Mint but is not noob suitable.....
Yep !
Sound advice all round so far .
Some things are just not helpful for new users

An interesting example is Kali , where you are root by default .
Try asking noob questions over on that forum !
There's not much love for folks who want a free personal tutorial , simply because they've heard that Kali
is " The Bomb " or " Bad-ass " , or whatever ( and they also have a keen nose for wannabe Script Kiddies over there ! )
A polite response might be - " Get the hang of walking , before attempting to run "
{ no criticism of that forum intended BTW , they just have a sharper focus on experienced users }

Things are much more noob friendly on this forum ,
.... if you have a good reason , then help will be forthcoming .
And I'm sure that nobody here wants to see you bork your pristine Linux Mint system - :)
Hoser Rob wrote: .... in WIndows you just THINK you're the administrator ....
@Hoser Rob
Funny you should say that ....
I've just come across " Give Me Power " over on Bleeping Computer ( it looks like it gives you an elevation from admin to SYSTEM ) .

Haven't had a chance to try it yet , but I've got various old Windows boxes lying around ,
and I'll be more than happy if I wreck some of them by driving that tool around ....
....like a total hooligan - :mrgreen:
Last edited by Faust on Thu Nov 16, 2017 10:31 am, edited 3 times in total.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: become superuser

Post by Flemur »

anakin wrote:the password is correct and I can use the command "sudo"
Yeah, Mint is a bit weird about 'root'.

Code: Select all

sudo -i
will effectively log you in as "root". Try

Code: Select all

whoami
afterwards.

Like they said, be careful when you do it.
Don't forget to exit.
It might be better to always "sudo command" (or "gksudo") instead.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
BG405
Level 9
Level 9
Posts: 2508
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: become superuser

Post by BG405 »

Flemur wrote:It might be better to always "sudo command" (or "gksudo") instead.
+1. :)

sudo for command-line and gksudo for all graphical programs launched from the Terminal, or kdesudo in Mint KDE.

As others have said, it's VERY easy to bork your system when running as root.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------Acer Aspire One D255E - LM21.3 Xfce
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: become superuser

Post by JerryF »

Flemur wrote:...
Yeah, Mint is a bit weird about 'root'.

Code: Select all

sudo -i
will effectively log you in as "root". Try

Code: Select all

whoami
afterwards.

Like they said, be careful when you do it.
Don't forget to exit.
It might be better to always "sudo command" (or "gksudo") instead.
I've used sudo su very rarely to be root.
anakin

Re: become superuser

Post by anakin »

thank you so much
you have been very kind.

:D

probably in the previous versions (linux mint 14 nadia and 17.1 rebecca)
the command "su" was sufficient. but now I'm not sure

the question was for beginners :oops:
but I use Linux for some years now :wink:

thank you all
Locked

Return to “Beginner Questions”