Re: [qubes-users] Forgot Login Password

2017-08-03 Thread Patrik Hagara
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/03/2017 08:22 AM, Patrik Hagara wrote:
> On 08/03/2017 08:07 AM, rohan kumbhar wrote:
>> Hello,
> 
>> I am Unable to login. I have forgotten the login password. What
>> is the procedure to reset login user password?
> 
>> Thanks! Regards.
> 
> 
> Assuming you left the root account disabled (as is the default), 
> you'll have to:
> 
> 1) boot the Qubes install media 2) switch to unused TTY by pressing
> Ctrl+Alt+F 3) determine which /dev/sdX device is the one
> containing your Qubes installation (eg. using `lsblk`; next steps
> assume it's /dev/sdb) 4) run `cryptsetup luksOpen /dev/sdb2 qubes`
> to unlock the encrypted root drive

Forgot about LVM, step 5 should be:
5) `mount /dev/qubes_dom0/root /mnt`

If that does not work, run `pvscan; vgscan; lvscan` and try again.

> 6) `chroot /mnt` 7) `passwd user` (where "user" is your Qubes
> login) 8) type in a new password and confirm 9) press Ctrl+D 10)
> type `reboot`
> 
> 
> Cheers, Patrik
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJZgsNXAAoJEFwecd8DH5rlmYcP/3poRMjYf67YCiPZ+p6BvCug
Vd7HoAFNtAwS2OjIYnmkgkgX+P0lbESPhWHREUZFwIPX+OgRmTRusyFTOaO67Z/4
vZRuqqn4pgjdB+OrN3ldGNmFZNQJn66mWzw5KqTfEtl422feJbBfxpaxYY69nKWO
xywAN+z+F+9I9fwDqoW+Rm1NRTDRwMW/oKxxciz2y0r0ob5trCeC4gw4x0LcZehS
gdBCiGUJu3qBDye3aj4mMK/kjelGZ05h7v2vu3Gx1/Y4OD7j1VucnotzgPuP+B7A
uKlLCe4WluAk54AZ+f2jUFsqbgnwYie0Fug92WlDtZxZgs5n6Bpn9wuWxO3IQn3V
mv4Q6io4eTvhEO2VgfClXWaAH50XYiZJygTftPdJrx8A1OrfY4xerrMJRby5NroY
aPyaMlHHpu7Il5GuqhN5VmOjUcCjCG5OTX9sUV5y+Ue/VwNAecImFTbMDx0/7J1R
Xs+NpP7p0WTSsYLEIBgUvS4Aq1QsxURSNsuKDeYy48wM4zNyF2Xo2QsU0LOtA5sG
V3M9cZx3boSKIm21+zL/dDg9eyVLClhC5ooxtGY0RkZ2H3L+ufPOYozDYEFeMTc3
PoX+aby5L4xxDehKgUlaEuBk3jfSCslx4BMSh4xcOy1RW8Bn1MxAiQnJO+d5Ejxx
MIYUL1rVA7rXr8w6c44Z
=DaRr
-END PGP SIGNATURE-

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e10e415b-c5fe-f03a-c2a4-95a927419adb%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


0x031F9AE5.asc
Description: application/pgp-keys


0x031F9AE5.asc.sig
Description: PGP signature


Re: [qubes-users] Forgot Login Password

2017-08-03 Thread Patrik Hagara
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/03/2017 08:07 AM, rohan kumbhar wrote:
> Hello,
> 
> I am Unable to login. I have forgotten the login password. What is
> the procedure to reset login user password?
> 
> Thanks! Regards.
> 

Assuming you left the root account disabled (as is the default),
you'll have to:

1) boot the Qubes install media
2) switch to unused TTY by pressing Ctrl+Alt+F
3) determine which /dev/sdX device is the one containing your Qubes
installation (eg. using `lsblk`; next steps assume it's /dev/sdb)
4) run `cryptsetup luksOpen /dev/sdb2 qubes` to unlock the encrypted
root drive
5) `mount /dev/mapper/qubes /mnt`
6) `chroot /mnt`
7) `passwd user` (where "user" is your Qubes login)
8) type in a new password and confirm
9) press Ctrl+D
10) type `reboot`


Cheers,
Patrik
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJZgsEWAAoJEFwecd8DH5rlndYP/i6SAErJH7e5TndoZlSezoRN
0iG/kPf2aq3cjEYwroPCdJNw+bTvKCb+F/RZzqo7LZMtuN2XQ2kt0l67pCyNeR/N
hSaytSoDZZjA55k/uteML6/c600IPLbEWMMsdbnXIXkWZKJgQzzgfo1hiJ2aM8No
S88vNuumm8OA4k2VeVuv2HsVqbH2h6mRy4fUzw3sS+G0wLrs52GbwuhH68nfhZoQ
xdQogii4amkc5GBMaAE2lS/+XbX3SS+FpSUt2EZk3sbjHqnxx53uhkKp/QdCIqB3
uT37Wx6Ky6W4SPj3B6s3s6z7m0X+k1kca6QWHfR57brofoggvuu+iAOZc/Go26OZ
ouaS+SLzkQwZhMwVVzCL3QQ8xjSljdjPxDKEfR/2EItHWgTpwgtojsBqUEnUyhyR
OBbrOSlh4J2Ee2E0V+nt1xGzsF4mLogGFU5FdG6vlYsKHeYWO5SMcTX189L9+zc+
quDE5rf1biQzMOgY6kHDjctqLcukzi/OF3BhP6OCtvEWR+Eso0UFOw9Oz1xpd+xr
eG5HF+I0UOjA762AnqsS7ypPode4V5QGOS55e9Gu1X2UJ5rSb9DirmGntLznImz8
f4j3t8u7Xakvd8aMoIJMMf7WSa48xeTjdb58tVErxdxFJ5dPkzZLcA7DoV9GebPB
dNEIh5wvSQ1u9jiHmQ6n
=hRXc
-END PGP SIGNATURE-

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1c468e62-fb8b-37ae-feef-01b911bed896%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


0x031F9AE5.asc
Description: application/pgp-keys


0x031F9AE5.asc.sig
Description: PGP signature


[qubes-users] Forgot Login Password

2017-08-03 Thread rohan kumbhar
Hello,

I am Unable to login. I have forgotten the login password.
What is the procedure to reset login user password?

Thanks!
Regards.

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/31c5afa1-bde5-4082-bf9a-65105bdc2f50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.