Created attachment 1068321 [details] screenshot when trying to restart Description of problem: Once adding a new account 'chris' and logging in as chris, and trying to restart via the cockpit interface, I get an error (see screenshot). Logs indicate I'm not in sudoers, and I then find this user is not in group wheel. Version-Release number of selected component (if applicable): cockpit-0.67-1.fc23 How reproducible: Always Steps to Reproduce: 1. Tools > Administrator Accounts > Create New Account 2. groups chris Actual results: chris : chris Expected results: chris : chris wheel Additional info: Since these are administrator accounts I should probably be able to do things that require sudo like restart or shutdown the system. But by default when I try to restart via the cockpit interface I get this: Looks like the user I added via cockpit is not an admin, is not in sudoers. Aug 29 14:32:17 f23s.localdomain cockpit-bridge[25426]: sudo: a password is required Aug 29 14:32:17 f23s.localdomain audit[25458]: USER_CMD pid=25458 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0 msg='cwd="/run/user/1000" cmd="cockpit-bridge" terminal=? res=failed' Aug 29 14:32:17 f23s.localdomain sudo[25458]: chris : user NOT in sudoers ; TTY=unknown ; PWD=/run/user/1000 ; USER=root ; COMMAND=/bin/cockpit-bridge
OK I found "Change Roles" to set the user to be a system administrator. But since it's Tools > Administrator Accounts, it's reasonable to conclude these are administrator accounts by default. So that should probably just be Accounts to avoid confusion. And then ideally include an option when creating the user to make them a system administrator.
Agree.
Sounds reasonable. I'll file individual bugs for both.
https://github.com/cockpit-project/cockpit/issues/2975 https://github.com/cockpit-project/cockpit/issues/2974
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.