Forgot password

lekkerlinux

Active Member
Joined
Apr 2, 2019
Messages
320
Reaction score
171
Credits
102
I forgot my password to get into Solus 4.1 Budgie!

I read about using sudo passwd username, after booting into the live session DVD to change the password. Does this sound right?

First time this happened, I do remember my Zolus one.

I'm dual booting, becuase one Linux is not enough.
 


Beyond by knowledge so I'm unable to help you. :(

For the future reference use a sure fire method and write them on a piece of paper and put it in a drawer or someplace where it can be gotten when needed.

I do this and it has saved my butt many times. :)
 
Can you login as any other user? Do you have any access at all?
If you can login at all, there is a good chance you have sudo access.

The second option if to boot from a "live USB" distro, mount your hard drive
and edit the /etc/passwd file (a little tedious)

Otherwise, you usually have to rebuild from scratch.
 
Can you login as any other user? Do you have any access at all?
If you can login at all, there is a good chance you have sudo access.

The second option if to boot from a "live USB" distro, mount your hard drive
and edit the /etc/passwd file (a little tedious)

Otherwise, you usually have to rebuild from scratch.
No access at all. I am using another distro on the same HDD.

Guess I will have to start agian.
 
lekker you still there? don't quit yet

wiz
 

I think that "Chrooting you Solus system" applies to my problem. It looks like Greek to me.

I think I will try doing all of that Friday or Saturday, once I have bought a new mobile data package.

At least I remember the Zorin password, Solus seems faster. Solus also made a good job of auto-partioning when I installed it after Zorin.

I'll try out the Solus installation DVD, to see what the options are, just don't want to make matters worse by breaking the Grub menu.
 
I'll try out the Solus installation DVD, to see what the options are, just don't want to make matters worse by breaking the Grub menu.
You can chroot with any distro available, just saying, for future reference. I haven't tried Solus in a while so I don't remember whether or not the default live user when booting from dvd/usb has sudo/root powers so I suggest that's the first thing you should check right after booting the dvd/usb live media. From there on is quite a straightforward process:

1. Check partitions
Code:
lsblk
and type down the one containing Solus.
2. Mount the Solus partition on /mnt
Code:
sudo mount  /dev/sdX /mnt  #replace the X accordingly, i.e /dev/sda1
3. Chroot into /mnt
Code:
sudo chroot /mnt
4. Change your password
Code:
passwd your_user
5. Type and confirm your password when asked
6. Exit chroot by pressing Ctrl+D
7. Umount /mnt
Code:
sudo umount -R /mnt
7 Reboot and now you should be able to log in again.

I used the sudo command but you could try first whether or not they work without it, if they do, drop sudo. If they don't, use it.

Hope this helps! :)
 
Last edited:

Members online


Top