Перейти к содержимому

Ubuntu authentication required как убрать

  • автор:

Форум русскоязычного сообщества Ubuntu

Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

  • Форум русскоязычного сообщества Ubuntu »
  • Поддержка »
  • Настройка системы »
  • Безопасность (Модераторы: Дмитрий Бо, www777) »
  • Как отключить запрос пароля на административные действия?

Страницы: [1] Вниз

Автор Тема: Как отключить запрос пароля на административные действия? (Прочитано 24653 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Страницы: [1] Вверх

  • Форум русскоязычного сообщества Ubuntu »
  • Поддержка »
  • Настройка системы »
  • Безопасность (Модераторы: Дмитрий Бо, www777) »
  • Как отключить запрос пароля на административные действия?

Страница сгенерирована за 0.152 секунд. Запросов: 25.

  • Сайт
  • Об Ubuntu
  • Скачать Ubuntu
  • Семейство Ubuntu
  • Новости
  • Форум
  • Помощь
  • Правила
  • Документация
  • Пользовательская документация
  • Официальная документация
  • Семейство Ubuntu
  • Материалы для загрузки
  • Совместимость с оборудованием
  • RSS лента
  • Сообщество
  • Наши проекты
  • Местные сообщества
  • Перевод Ubuntu
  • Тестирование
  • RSS лента

© 2012 Ubuntu-ru — Русскоязычное сообщество Ubuntu Linux.
© 2012 Canonical Ltd. Ubuntu и Canonical являются зарегистрированными торговыми знаками Canonical Ltd.

Authentication Required for everything I do in Ubuntu 19.10

I recently upgraded ubuntu from 19.04 to 19.10. Initially, I was not able to login into this user. Whenever I entered password it didn’t log in and asked for password again. There was a kind of login loop. Now I am able to login after changing the display manager to lightgdm. But I don’t know what is wrong now. After login, it keeps on asking the authentication for every possible thing. Some of them are «Authentication required to create a color profile», «Authentication required to refresh the system repositories», «System policy prevents Wifi scan» and many more. This user is already in the sudo group. Other user works fine. And I am not even able to «unlock the user in Users Settings (this solution is given at many places). Please help me.

asked Feb 18, 2020 at 14:32
Ankit Jain Ankit Jain
111 1 1 gold badge 1 1 silver badge 3 3 bronze badges

I’m also having this problem on my 18.04, except I didn’t have login loop issue at all. It just happened, and polkit actions seems doesn’t work. Still don’t have any resoultion for this.

Jun 22, 2020 at 5:03
Unfortunately, the only thing that fixed it was upgrading to 20.04.
Jun 22, 2020 at 7:42

I’ve upgraded to 21.04 and still having the same issues. Would be great to have a solution that doesn’t require messing with .pkla files

Aug 26, 2021 at 12:42

3 Answers 3

I have 18.04 with the exact same problem for days, and now has been solved. All I did was creating .pkla file containing custom policy for sudo group in /etc/polkit-1/localauthority/50-local.d/99-sudonopassword.pkla . (I must login with root in terminal -> sudo su .

[No password prompt] Identity=unix-group:sudo Action=* ResultActive=yes ResultInactive=yes ResultAny=yes 

See pklocalauthority for more details. Then reboot just in case.

If it fails, try reinstall polkit using sudo apt install —reinstall policykit-1 . Then reboot just in case.

answered Jun 23, 2020 at 5:09
746 1 1 gold badge 10 10 silver badges 24 24 bronze badges

Once you are logged in mainly the system ask for color profile and management password as well as Repository update and shut down. The following content should be written in a file named say «nofurtherlogin.pkla» in /etc/polkit-1/localauthority/50-local.d/ by the command

sudo nano /etc/polkit-1/localauthority/50-local.d/nofurtherlogin.pkla 

now paste the following contents in the file:

[Allow colord for all users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile ResultAny=yes ResultInactive=yes ResultActive=yes [Allow Package Management all Users] Identity=unix-user:* Action=org.freedesktop.packagekit.system-sources-refresh ResultAny=yes ResultInactive=yes ResultActive=yes [Allow all users to shutdown] Identity=unix-user:* Action=org.freedesktop.login1.power-off-multiple-sessions ResultAny=yes ResultActive=yes [Allow all users to reboot] Identity=unix-user:* Action=org.freedesktop.login1.reboot-multiple-sessions ResultAny=yes ResultActive=yes [Allow all users to suspend] Identity=unix-user:* Action=org.freedesktop.login1.suspend-multiple-sessions ResultAny=yes ResultActive=yes [Allow all users to ignore inhibit of shutdown] Identity=unix-user:* Action=org.freedesktop.login1.power-off-ignore-inhibit ResultAny=yes ResultActive=yes [Allow all users to ignore inhibit of reboot] Identity=unix-user:* Action=org.freedesktop.login1.reboot-ignore-inhibit ResultAny=yes ResultActive=yes [Allow all users to ignore inhibit of suspend] Identity=unix-user:* Action=org.freedesktop.login1.suspend-ignore-inhibit ResultAny=yes ResultActive=yes 

This will solve the problem for 20.04 also

Can’t close Authentication Required window after login

Screenshot

I am using Ubuntu 20.04(Gnome3.36) and need help with this: The Authentication Required window is stuck right after logging in and I can’t close it. I tried using xkill to close the window but it didn’t close, I think xkill doesn’t recognize the Authentication required window as a window. I searched for answers but only found a reddit post which the author has the same problem, which is https://www.reddit.com/r/gnome/comments/fscvql/authentication_required_window/ Is there any easier ways to remove it than rebooting? UPDATE 2022-12-27: On Ubuntu 22.04 I don’t encounter this problem anymore, the issue seems to be fixed. But I also can’t restart the gnome shell as I am now using Wayland.

asked Nov 12, 2020 at 13:49
1,955 2 2 gold badges 11 11 silver badges 30 30 bronze badges

but on ubuntu 20.04.6 it still exists. I think I should not need to update major version to get this out

Aug 11 at 8:49

4 Answers 4

I faced the same problem on Pop_!OS, no need to reboot actually;
The easier way is to just restart GNOME by one of two ways:

  • press Alt + F2 , type r then Enter
  • in terminal, type killall -3 gnome-shell

This should just restart Gnome Shell. You will not lose your open windows, but you should be reminded to save all your work regularly!

answered Nov 13, 2020 at 5:59
Anan Raddad Anan Raddad
1,954 1 1 gold badge 5 5 silver badges 4 4 bronze badges
I used the killall command and that worked.
Jan 2, 2021 at 22:34
Note that this will not kill your session nor any open programs. It is non-destructive.
Jan 29, 2021 at 14:53
I was about to restart the whole computer and then I see this solution. Thank you so much.
Feb 4, 2021 at 11:45

@AnanRaddad Hi, I used your method several times, but I changed gnome keyboard shortcut, and assigned Alt+F2 to something else. So I can’t use Alt+F2. (a search tells me the default Alt+F2 was ‘Run Console’ but I can’t find the menu in the keyboard shortcut edit window) Please help me.. what can I do in this case?

May 25, 2021 at 5:40
For me, this kills emacs windows on ubuntu 20.04.
Oct 18, 2021 at 17:49

I don’t recommend the killall -3 gnome-shell approach because:

  • It causes Steam and any running games within to exit.
  • It has a weird side effect of bringing up new instances of GUI apps like 1Password rather than bringing up the existing minimized process.

I use the following alias ‘gf’ for «gnome fix»:

For zsh and bash:

alias gf='dbus-send --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:"global.reexec_self()"' 
alias gf 'dbus-send --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:"global.reexec_self()"' 

answered Feb 26, 2022 at 11:11
211 2 2 silver badges 4 4 bronze badges

Now when I see that your solution also works, I am not gonna change the accept mark since I already placed it for a year ago but you got my upvote 🙂

Feb 27, 2022 at 16:26
Both solutions work! I’m just noticing weird artifacts with one versus the other. Thank you. 🙂
Feb 28, 2022 at 17:09

Thank you for the nice tip!

For me it started happening seemingly all of a sudden. I am on a fresh Linux installation. Other than playing around with power management (suspend and hibernate) to make them work better, I did not fiddle around with anything else. It is happening after I login from suspension/reboot.

After a couple of days of trying to understand what might be wrong, I noticed a couple of things:

  • When trying to restart the window did not only display the 3 buttons Cancel, Restart, Power off BUT it stated that there is another user logged in (with the same name as me). I checked how many users were logged in but there was only one (me)
  • The authenticate window popup was popping up when I was trying to reboot (with the message ~= «authentication is needed for reboot»)
  • All of a sudden the brightness control stopped working and my screen brightness was not changing when I was updating the slider (I know weird. but again I had done nothing to fiddle around with it)

Those clues led me to think that the latest package I had installed might be the culprit. It was the «chrome remote desktop» package which is related to logging the user to the current active window session and touching on display properties..

And after uninstalling the package everything worked as before! No stuck authentication popups, no duplicate ghost users and I can control my display’s brightness.

I hope those observations and my experience is useful to someone out there.

Ubuntu authentication required как убрать

При установке программ, либо при изменении настроек Ubuntu постоянно выдается запрос на аутентификацию. Статус пользователя — администратор, но приходится вводить пароль. Как отключить это?

(0) если подобные вопросы задаешь, то никак и ни в коем случае
вот УАЦ в винде придумали, чобы как в убунте было, а ты отказываешься.
(1) А поумнее есть советы?

(3) есть. ознакомиться хотя бы в общих чертах с архитектурой GNU/Linux в плане безопасности, после чего понять глупость вопроса в (0)

(4) Сообщество спецов. Раньше на мисте люди как-то проще были. Ребята если вы умнее, то не отвечайте на мои глупые вопросы, может и наёдется тот другой, который подскажет. Тему создал я, у меня проблема, я как раз и знакомлюсь с Linux.

(5) ну тебе человек и отвечает что не с той стороны ты начал знакомство. совет в (4) более чем разумен имхо. и кстати, в чем проблема ввести пароль при установке пакетов или при настройке?

(6) Я так понимаю, что нельзя, раз вы говорите о безопасности? По поводу с той или не стой стороны. Вы же все сами знаете, чтобы изучить ту или иную ОС требуется немало времени, а времени нет (поставлена задача развернуть рабочее место без Windows, дабы не платить за лицензионную windows, Office и т.д. Linux данную проблему решает) Тратить время на перелопачивание кучи материала (большая честь не нужная в данный момент) нет физически.

(7) неправильно понимаешь. с точки зрения безопасности — не стоит этого делать.

по поводу убунты вместо выня так все просто. берешь десктоп 10.10 с миррор.яндекс и ставишь.

Может вы тогда дадите совет в следующем вопросе:
Подключение к терминалу rdesktop -r printer:HP1600=»HP Deskjet D1600 series» 192.168.x.x запускает в оконном режиме, если поставить ключ -f, то откроется на весь экран, а как потом из полноэкранного режима терминала переключиться в окно интерфейса ubuntu?

Злой я сегодня. Лови.
1.Входим в консоль.
2. команда sudo -s — входим в систему под рутом по своим юзерским паролем.
3. команда whoami — убеждаемся, что теперь мы работаем под рутом.
4. команда passwd — меняем пароль рута.
5. дважды команда exit — выходим сначала из сеанса рута под суду, затем из собственного сеанса.

Дальше «завершить сеанс» и при входе в гнум вручную набираем имя пользователя root.

По особой злобе советую после входа применить оптимизурующий скрипт в консоли.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Luxury Car Rental in Miami | Reserve a Premium Vehicle with RealCar