December 28, 2019 5:20 PM, [email protected] wrote:

> Dec 28, 2019, 17:42 by [email protected]:
> 
>> December 28, 2019 4:31 PM, [email protected] wrote:
>> 
>>> On Sat, Dec 28, 2019 at 08:00:46AM -0800, mastor wrote:
>> 
>> my USB controller is attached to nothing, but needed for Yubikey login.
>> I lost my tty2-credentials (the username), so I'm locked out of the system.
>> BIOS changes don't help.
>> Is there any way to "free" USB during boot? Or get rid of the tty login
>> credentials?
>> 
>>> not sure what "tty login credentials" means.
>>> but you can always boot some random live-linux (like "fedora
>>> workstation"), open the qubes luks device and mount the dom0
>>> root and check/change whatever needs fixing there.
>>> 
>>> if you are just missing your dom0 username (huh?), getting it
>>> through liveboot is probably easiest.
>>> you can also change the boot config to remove all mentions
>>> of hide-all-usb. (check a guide on how to configure a qubes
>>> for usb-keyboard usage, basicly same thing)
>> 
>> I think he means he uses his yubikey as an emulated keyboard to type his 
>> disk password, and
>> probably enabled a USB Qube and now the yubikey can't type in early 
>> userspace.
>> 
>> So yeah, you'll have to boot into the installer and enter rescue mode, or 
>> boot into some other live
>> linux distro, and disable the USB Qube. Follow these instructions for 
>> removing your USB Qube:
>> https://www.qubes-os.org/doc/usb-qubes/#removing-a-usb-qube
>> 
>> Note, if you're using Grub, all you have to do is press 'e' when you're at 
>> the boot loader, and
>> remove rd.qubes.hide_all_usb from the kernel command line. Then you should 
>> be able to login, and
>> remove that same option from /etc/default/grub
> 
> Thanks! Well, I can boot into nothing because my USB connection is gone.
> 
> I know my dom0 username but it doesnt work, and therefore the Yubikey 
> authentication at login
> neither.
> 
> So I thought there could be a trick reattaching the USB controller to sys-usb 
> during early boot.
> 
> If I had access to tty2 there would be no big problem. I would delete the 
> Yubikey pam.d entry for
> login.
> Best, mastor

(when replying please use reply-all to make sure a copy goes to the list and 
not just to me)

Ah, I see. So you're able to type in your disk passphrase and get to the user 
login screen? Either lightdm or a TTY, I'm assuming? And I'm assuming you're 
able to switch to TTY2, but you can't login to it?

The username shouldn't have anything to do with the yubikey or USB at all. What 
do you mean the dom0 username doesn't work? I thought the problem was that you 
can't sign in because the yubikey isn't working in Qubes anymore due to 
enabling a USB Qube. Also, did you disable password authentication after you 
set up the yubikey?

And what do you mean your USB connection is gone? Unless there's something 
physically wrong with it, you should be able to boot from a USB drive 
regardless of whether a USB Qube is enabled or not. Have you tried booting into 
the installer from USB (the same way as when you first installed Qubes)?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9c3d4891b7e950b7c0b126af21d3dd29%40disroot.org.

Reply via email to