Default linux mint root password

Linux Mint Forums

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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

I Dont Know My Root Password

Post by terry_g » Sat Apr 14, 2018 10:20 am

I just finished installing Mint 18.2 64 bit. I have been doing some configuring and sure like what I see.
I have been using Fedora since it came out. When I installed Mint I was not asked for a root password.
I installed Gparted and when I try to run it I am told it can only be run as root.
Is there a default root password?

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.

Flemur Level 20
Posts: 10097 Joined: Mon Aug 20, 2012 9:41 pm Location: Potemkin Village

Re: I Dont Know My Root Password

Post by Flemur » Sat Apr 14, 2018 10:23 am

Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up. right?

karlchen Level 22
Posts: 17363 Joined: Sat Dec 31, 2011 7:21 am Location: Germany

Re: I Dont Know My Root Password

Post by karlchen » Sat Apr 14, 2018 10:49 am

The «Linux Mint 18.2 — What’s new?» page reveals in the section «System improvements» this change, which affects Linux Mint 18.2 and newer Linux Mint releases:

What’s new — System Inprovements wrote: The root account is now locked by default. You can use sudo with your own password to become root with «sudo -i«.

This means that starting with Linux Mint 18.2, on Mint you can only gain root privileges by using sudo (terminal commands) or gksudo / kdesudo (graphical applications). As Flemur had correctly explained sudo/gksudo/kdesudo expect you to enter your user password in order to authenticate and verify you are a member of the sudo user group, who are entitled to make use of sudo/gksudo/kdesudo.

Please, see the Ubuntu article on RootSudo for more details.

Image

The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 500 days now.
The Prophet’s Song

Читайте также:  Asp net server linux

Re: I Dont Know My Root Password

Post by Hoser Rob » Sat Apr 14, 2018 12:29 pm

Mint follows the practise of Ubuntu which it’s based upon. There’s no root user defined by default. This isn’t such a bad idea in a distro aimed at beginners, which Mint and Ubuntu are and Fedora isn’t. Newbies should never use root . they don’t have any idea the damage that can cause if you’re not pretty knowledgeable.

Re: I Dont Know My Root Password

Post by Cosmo. » Sat Apr 14, 2018 3:43 pm

terry_g wrote: ⤴ Sat Apr 14, 2018 10:20 am I installed Gparted and when I try to run it I am told it can only be run as root.

If you installed it, you must be a member of the group sudo. For running Gparted you need the same password, which you had to enter for installing the program.

Re: I Dont Know My Root Password

Post by terry_g » Sun Apr 15, 2018 8:13 am

Источник

How to Change Root Password in Linux Mint 21

In a Linux system, a person with root privileges would be able to work as an administrator. Most of the Linux tasks required root-level permission to further proceed. It is quite possible that most of the users working on the same system have root privileges which sometimes create security problems.

However, to avoid security attacks, it is necessary to change the root password regularly. Because resetting the password time to time helps you to get rid of these issues, even if your ex-team member finds your old password, they wouldn’t be able to access the system.

How to Change Root Password in Linux Mint 21

We have two most common ways to change root password on Linux Mint 21 system:

1: Change root Password with sudo Permission

With sudo privileges, a user can easily modify the root password if forgotten or even set it for the first time. But keep in mind, you should know about the older password. Whenever you run the mentioned command, the system will ask you to type the sudo password; type it and hit enter:

In the next move, you will be asked to type the new root password for the Linux mint system:

Re-enter the new root password you have set above for confirmation:

Once both passwords match, you will get a message on terminal that you have successfully updated Linux Mint root password.

2: Change root Password with root Permission

For this method, you should have changed the root password of the Linux Mint system at least one time before. And, you must know the current sudo password to gain root privileges. So, execute the mentioned command and type the current root password of your Linux system:

In the next command, execute the ‘passwd’ command to the terminal for further process. This will allow you to modify the root password:

Type the new password you want to set, and hit Enter:

Re-enter the password you have set above. You will receive a successfully updated message if the password is entered correctly:

Читайте также:  Linux восстановление данные hdd

3: Change root Password Using GUI

You can also change the root password through a graphical user interface if you don’t prefer the terminal.

What you need to do is, open the applications menu, move to the Administration icon and their select Users and Groups option:

Type the current root password and click to Authenticate button:

After authentication, you will see a user with their respective details like name and password. In the password category, click on the dotted hidden password to reset it:

Once you clicked, a dialogue box of Change Password will be appeared on the screen:

Type the new password of your choice in the New Password entry and re-write it on the Confirm Password tab. If your passwords match, then hit to Change button:

The root password of the Linux Mint 21 system has changed successfully.

Conclusion

Root password is the key to managing your whole Linux system as all administration tasks and queries are handled with root permission. Sometimes, it is necessary to change the root password after some time to avoid unnecessary usage and attacks.

Through this guide, we have learned how to change the root password on Linux Mint 21 system. We have done it using two different approaches, one approach leads to CLI which includes sudo and root permissions. And in the second approach, we used the GUI method.

About the author

Syeda Wardah Batool

I am a Software Engineer Graduate and Self Motivated Linux writer. I also love to read latest Linux books. Moreover, in my free time, i love to read books on Personal development.

Источник

Default linux mint root password

Кстати, народ, тему не нашёл подходящую. Скажите какпоменять утерянный пароль рут. Пробова из Grubа, чёь пишет не могу поменять. Не могу запускать ничего, где рут требуется.

colonel Сообщения: 1851 Зарегистрирован: 18 дек 2016, 12:08 Решено: 21 Откуда: Хартленд, N Благодарил (а): 43 раза Поблагодарили: 498 раз Контактная информация:

Как получить root на папке?

mcaris74 , пароля рута по дефолту в линукс минт нет , он не назначался и вход от рута в графическую сессию запрещён( отключен локальный вход суперпользователя) , настроен судо на право пользователем работать от рута вводом своего пароля ,если этот пользователь имеет права администратора.
как поменять утерянный пароль чуть позже выложу способ через «бин-баш»

«Не ты выбираешь Linux, а Linux выбирает тебя»
(с)Себастьян Перейра, торговец чёрным деревом

mcaris74 Сообщения: 68 Зарегистрирован: 09 дек 2017, 11:29 Откуда: Самара Благодарил (а): 13 раз Контактная информация:

Как получить root на папке?

mcaris74, пароля рута по дефолту в линукс минт нет , он не назначался и вход от рута в графическую сессию запрещён( отключен локальный вход суперпользователя) , настроен судо на право пользователем работать от рута вводом своего пароля ,если этот пользователь имеет права администратора.
как поменять утерянный пароль чуть позже выложу способ через «бин-баш»

Спасиб добрый человек! тогда скажи, что я не так делаю. Я назначил второго пользователя. Он у меня админ. Правильно? То есть я под своей учёткой «совсем никто». Вот. Когда выполняю, например обновление, вылазит Введите пароль для выполнения админ задач. Пароль от админа, который я создал, не подходит. Изначально так не было, был пароль рут, который я забыл. Я вроде как понимаю, что делать, но что тог упускаю, что, не пойму.

Читайте также:  Установка патчей 1с linux

rogoznik Сообщения: 9695 Зарегистрирован: 27 июн 2017, 13:36 Решено: 120 Откуда: Нижний Тагил Благодарил (а): 756 раз Поблагодарили: 1859 раз Контактная информация:

Как получить root на папке?

Изображение

mcaris74 Сообщения: 68 Зарегистрирован: 09 дек 2017, 11:29 Откуда: Самара Благодарил (а): 13 раз Контактная информация:

Пароль root

Ну, само собой! Во первых, пока я не полез и не создал второго пользователя, так и было, это Вы верно подметили. Я где то при установке видел, мол пароль от «Вас» это и административный пароль. И включается одноразово, о чём говорит «телефонный аппарат» в трее. Об входе с повышенной привелегией. Вопрос-куда всё пропало и как исправить.

slawdos Сообщения: 122 Зарегистрирован: 26 янв 2017, 17:49 Решено: 1 Благодарил (а): 49 раз Поблагодарили: 65 раз Контактная информация:

Пароль root

colonel Сообщения: 1851 Зарегистрирован: 18 дек 2016, 12:08 Решено: 21 Откуда: Хартленд, N Благодарил (а): 43 раза Поблагодарили: 498 раз Контактная информация:

Пароль root

что я не так делаю. Я назначил второго пользователя. Он у меня админ. Правильно? То есть я под своей учёткой «совсем никто». Вот. Когда выполняю, например обновление, вылазит Введите пароль для выполнения админ задач. Пароль от админа, который

ну откудаж знать-то что вы сделали не так. из того что вы написали мало чего понятного.
>Я назначил второго пользователя. Он у меня админ. Правильно?
если вы при создании второго аккаунта устанавливали тпи учётной записи Администратор , да ещё проверили назначения прав и привелегий в Дополнительных параметрах и проверили настройки групп — то правильно. Если не назначили ему тип учётной записи Администратор — то неправильно.
>То есть я под своей учёткой «совсем никто»
Если после назначения администратором второго пользователя вы сменили тип своей учётной записи на Пользователь (а до этого был Администратор ) , то ДА, «совсем никто»
Если не меняли, то должны были остаться вторым Администратором.
У мну , к примеру , 2 аккаунта и оба администраторы. При запросе рутовых прав по судл могу выбирать от какого аккаунта и с его паролем выполнить команду по судо . Есть ещё варианты ,но . в общем пропустим их

Если правильно понял , то у вас команды и программы с рутовыми правами по судо не выполняются от вашей учётки с её паролем, пароль для созданной второй учётки которую назначили админом вы забыли и есть необходимость переназначить пароль для админской учётки
В принципе это не так и сложно при физическом доступе к ПК
1-й вариант
Загрузитесь в систему в консольном режиме с опцией rw init=/bin/bash
далее с помощью команды # passwd (ник вашей админской второй учётки) назначайте ей пароль
.
далее reboot и пробуйте что получилось

если не сработает такое назначение , например, ввиду того что второй ваш пользователь не был назначен админом, то повторите вход в систему в консольном режиме с опцией rw init=/bin/bash и с помощью команды # passwd root назначте пароль суперпользователю , перегрузитесь в обычном режиме и пробуйте настроить свои аккауты пользователей
после настройки нормального админа из пользовательских аккаунтов рекомендую отключить пароль root
команда для этого # passwd root -l

Источник

Оцените статью
Adblock
detector