Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks, -T
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
--- Best regards, Alex
On Friday, March 21st, 2025 at 20:12, toddandmargo via users users@lists.fedoraproject.org wrote:
Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks,
-T
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 3/21/25 12:24 PM, Alex Gurenko via users wrote:
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
If you do that, it won't ask for any password. Otherwise, it is trying to find an admin user. But there's no way to get it to ask for the root password.
On 3/21/25 14:06, Samuel Sieb wrote:
On 3/21/25 12:24 PM, Alex Gurenko via users wrote:
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
If you do that, it won't ask for any password. Otherwise, it is trying to find an admin user. But there's no way to get it to ask for the root password.
My office machine does.
On 3/21/25 2:14 PM, Todd Chester via users wrote:
On 3/21/25 14:06, Samuel Sieb wrote:
On 3/21/25 12:24 PM, Alex Gurenko via users wrote:
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
If you do that, it won't ask for any password. Otherwise, it is trying to find an admin user. But there's no way to get it to ask for the root password.
My office machine does.
Maybe if there's no admin user. By default, root doesn't even have a password.
On Fri, 2025-03-21 at 14:18 -0700, Samuel Sieb wrote:
On 3/21/25 2:14 PM, Todd Chester via users wrote:
On 3/21/25 14:06, Samuel Sieb wrote:
On 3/21/25 12:24 PM, Alex Gurenko via users wrote:
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
If you do that, it won't ask for any password. Otherwise, it is trying to find an admin user. But there's no way to get it to ask for the root password.
My office machine does.
Maybe if there's no admin user. By default, root doesn't even have a password.
What? Every Linux (and UNIX) system I've ever used has had a root password, including Fedora. In fact, Anaconda asks you to set one up at installation. Or did you mean something else?
poc
On 03/21/2025 03:18 PM, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
There's an option in Anaconda to set it but most people ignore it. If you're past that, you can set one at boot, the same way that you can change it in an emergency. HTH, HAND.
On Fri, 21 Mar 2025 at 22:10, Patrick O'Callaghan pocallaghan@gmail.com wrote:
On Fri, 2025-03-21 at 14:18 -0700, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
What? Every Linux (and UNIX) system I've ever used has had a root password, including Fedora. In fact, Anaconda asks you to set one up at installation. Or did you mean something else?
It's pretty common for baked cloud images and VMs to be provisioned with no explicit root password set.
Just a standard shared or break-glass user (ec2user/admin/ubuntu/whatever) with one or more pubkeys dropped into the common user's authorized_keys via UserData/cloud-init, and a corresponding sudo config stub.
The root user exists but has no password set (nb: not an empty/blank password, but a 'locked' account in terms of direct login, so root can only be assumed via sudo or something like an SSM agent.)
e.g.
[wmcdonald@fedora ~ ]$ ssh i-085545b2b626c7e1f admin@ip-10-0-1-63:~$ grep root /etc/passwd root:x:0:0:root:/root:/bin/bash admin@ip-10-0-1-63:~$ sudo grep root /etc/shadow root:*:19643:0:99999:7:::
On Fri, 2025-03-21 at 22:28 +0000, Will McDonald wrote:
On Fri, 21 Mar 2025 at 22:10, Patrick O'Callaghan pocallaghan@gmail.com wrote:
On Fri, 2025-03-21 at 14:18 -0700, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
What? Every Linux (and UNIX) system I've ever used has had a root password, including Fedora. In fact, Anaconda asks you to set one up at installation. Or did you mean something else?
It's pretty common for baked cloud images and VMs to be provisioned with no explicit root password set.
I'm aware of that. I raised a metaphorical eyebrow at the idea that this was default behaviour, especially in the context of desktop systems. I'd be surprised if the OP didn't have a root password.
poc
On Fri, 2025-03-21 at 16:12 -0600, Joe Zeff wrote:
On 03/21/2025 03:18 PM, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
There's an option in Anaconda to set it but most people ignore it.
I know I've never ignored it. Why do you say that most people do? Is there some evidence of that?
poc
On 3/21/25 3:12 PM, Joe Zeff wrote:
On 03/21/2025 03:18 PM, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
There's an option in Anaconda to set it but most people ignore it. If you're past that, you can set one at boot, the same way that you can change it in an emergency. HTH, HAND.
I know you can, but the default is to not set it. If you use the workstation install, there's no user option at all. You create the user at first boot and there's nothing about root.
On 3/21/25 15:09, Patrick O'Callaghan wrote:
On Fri, 2025-03-21 at 14:18 -0700, Samuel Sieb wrote:
On 3/21/25 2:14 PM, Todd Chester via users wrote:
On 3/21/25 14:06, Samuel Sieb wrote:
On 3/21/25 12:24 PM, Alex Gurenko via users wrote:
Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ?
If you do that, it won't ask for any password. Otherwise, it is trying to find an admin user. But there's no way to get it to ask for the root password.
My office machine does.
Maybe if there's no admin user. By default, root doesn't even have a password.
What? Every Linux (and UNIX) system I've ever used has had a root password, including Fedora. In fact, Anaconda asks you to set one up at installation. Or did you mean something else?
I guess I didn't get the memo ;D I haven't had a root password on a system, vm, or container in years. I add myself to wheel or sudo and install a public key in my user's .ssh dir. I do as much work as my UID:GIDs as possible and escalate only when absolutely necessary.
It requires some workarounds that are more time consuming. When completely stymied I boot to a live system usb and sudo su, then mount the partition that requires root privilege and go from there.
I do recall a situation where I needed a rescue so I finagled a root pw onto the problem child, booted the rescue, did my fix, and deleted the root password, and rebooted.
:m
On Fri, 2025-03-21 at 22:55 +0000, Patrick O'Callaghan wrote:
On Fri, 2025-03-21 at 16:12 -0600, Joe Zeff wrote:
On 03/21/2025 03:18 PM, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
There's an option in Anaconda to set it but most people ignore it.
I know I've never ignored it. Why do you say that most people do? Is there some evidence of that?
poc
Workstation by default have disabled root password you have to set it mannually once you insttalled system
On Sat, 2025-03-22 at 09:59 +1100, Igor Bezrodnik wrote:
On Fri, 2025-03-21 at 22:55 +0000, Patrick O'Callaghan wrote:
On Fri, 2025-03-21 at 16:12 -0600, Joe Zeff wrote:
On 03/21/2025 03:18 PM, Samuel Sieb wrote:
Maybe if there's no admin user. By default, root doesn't even have a password.
There's an option in Anaconda to set it but most people ignore it.
I know I've never ignored it. Why do you say that most people do? Is there some evidence of that?
poc
Workstation by default have disabled root password you have to set it mannually once you insttalled system
Well, I sit corrected. It's been a while since I did a new Fedora install so my memory perhaps isn't reliable.
poc
On Friday, March 21st, 2025 at 20:12, toddandmargo via users users@lists.fedoraproject.org wrote:
Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks, -T
On 3/21/25 12:24 PM, Alex Gurenko wrote:
Do you need it to ask for a root password? Maybe just add your user
to the libvirt group with usermod -a -G libvirt <username> ?
Best regards, Alex
Hi Alex,
Hmmmm. What group "libvert"?
# grep -i libvert /etc/group <nothing>
So I manually added the group
# groupadd -r libvert
And now I get
# grep -i libvert /etc/group libvert:x:965:
But
# usermod -a -G libvirt root
does not add root or any other the other four users I added to the group
# grep -i libvert /etc/group libvert:x:965:
What am I missing? Is it time for "vi"?
Yours in frustration, -T
On 3/22/25 8:19 PM, ToddAndMargo via users wrote:
On Friday, March 21st, 2025 at 20:12, toddandmargo via users users@lists.fedoraproject.org wrote:
Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks, -T
On 3/21/25 12:24 PM, Alex Gurenko wrote:
Do you need it to ask for a root password? Maybe just add your user
to the libvirt group with usermod -a -G libvirt <username> ?
Best regards, Alex
Hi Alex,
Hmmmm. What group "libvert"?
# grep -i libvert /etc/group
<nothing>
So I manually added the group
# groupadd -r libvert
And now I get
# grep -i libvert /etc/group libvert:x:965:
But
# usermod -a -G libvirt root
does not add root or any other the other four users I added to the group
This is the only one you actually spelled correctly. But you're supposed to be adding your user, not root to the group.
# grep -i libvert /etc/group libvert:x:965:
What am I missing? Is it time for "vi"?
Try doing that again with the correct group name.
On Sat, 2025-03-22 at 20:26 -0700, Samuel Sieb wrote:
On 3/22/25 8:19 PM, ToddAndMargo via users wrote:
On Friday, March 21st, 2025 at 20:12, toddandmargo via users users@lists.fedoraproject.org wrote:
Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks, -T
On 3/21/25 12:24 PM, Alex Gurenko wrote: > Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ? > > --- > Best regards, Alex
Hi Alex,
Hmmmm. What group "libvert"?
# grep -i libvert /etc/group
<nothing>
So I manually added the group
# groupadd -r libvert
And now I get
# grep -i libvert /etc/group libvert:x:965:
But
# usermod -a -G libvirt root
does not add root or any other the other four users I added to the group
This is the only one you actually spelled correctly. But you're supposed to be adding your user, not root to the group.
# grep -i libvert /etc/group libvert:x:965:
What am I missing? Is it time for "vi"?
Try doing that again with the correct group name.
Check spelling libvirt no libvert
On 3/22/25 8:26 PM, Samuel Sieb wrote:
On 3/22/25 8:19 PM, ToddAndMargo via users wrote:
On Friday, March 21st, 2025 at 20:12, toddandmargo via users users@lists.fedoraproject.org wrote:
Hi All,
Fedora 41 virt-manager-5.0.0-1.fc41.noarch
When I start virt-manager, it wants the password for the user's account that I initially created during the install of FC41.
How do I get it to ask for the root's password instead?
Many thanks, -T
On 3/21/25 12:24 PM, Alex Gurenko wrote: > Do you need it to ask for a root password? Maybe just add your user to the libvirt group with usermod -a -G libvirt <username> ? > > --- > Best regards, Alex
Hi Alex,
Hmmmm. What group "libvert"?
# grep -i libvert /etc/group
<nothing>
So I manually added the group
# groupadd -r libvert
And now I get
# grep -i libvert /etc/group libvert:x:965:
But
# usermod -a -G libvirt root
does not add root or any other the other four users I added to the group
This is the only one you actually spelled correctly. But you're supposed to be adding your user, not root to the group.
# grep -i libvert /etc/group libvert:x:965:
What am I missing? Is it time for "vi"?
Try doing that again with the correct group name.
That fix it. Thank you!