Forgot password

lekkerlinux

Active Member
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.
 


D

Deleted member 58530

Guest
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. :)
 

dos2unix

Well-Known Member
Credits
1,697
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.
 

lekkerlinux

Active Member
Credits
102
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.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
4,771
lekker you still there? don't quit yet

wiz
 

lekkerlinux

Active Member
Credits
102

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.
 

Tolkem

Well-Known Member
Credits
1,796
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