geekborg
Posts: 3
Joined: Mon Apr 16, 2018 8:13 am

I think i broke my solus installation

Mon Apr 16, 2018 8:24 am

Hi,

After a new Solus installation (on tha hard-drive) I tried to disable all the password prompts.

I opened the mate-terminal and typed :

Code: Select all

sudo passwd -d root
and

Code: Select all

sudo passwd -d my_username
The passwords were disabled successfully.

But now, when i try to install an application in the software center, it asks me for a password and it does not accept an empty password.

When i try to set a new password at the command line :

Code: Select all

sudo passwd my_username
it asks me for the root password, and it does not accept an empty password.

How i can repair this, please ?

the lightdm screen can't connect anymore. it does not accept an empty password or my old password.

please help
Last edited by geekborg on Mon Apr 16, 2018 11:42 am, edited 1 time in total.

User avatar
kyrios
Posts: 1973
Joined: Thu Sep 22, 2016 4:20 pm

Re: I think i broke my solus installation

Mon Apr 16, 2018 9:56 am

geekborg wrote:
Mon Apr 16, 2018 8:24 am
Hi,

After a new Solus installation (on tha hard-drive) I tried to disable all the password prompts.

I opened the mate-terminal and typed :

Code: Select all

sudo passwd -d root
and

Code: Select all

sudo passwd -d my_username
The passwords were disabled successfully.

I rebooted my computer but now, when i try to install an application in the software center, it asks me for a password and it does not accept an empty password.

When i try to set a new password at the command line :

Code: Select all

sudo passwd my_username
it asks me for the root password, and it does not accept an empty password.

How i can repair this, please ?
Well I guess you should first try to set back the root password. I'd try something like this

Code: Select all

$ sudo su
$ passwd

geekborg
Posts: 3
Joined: Mon Apr 16, 2018 8:13 am

Re: I think i broke my solus installation

Mon Apr 16, 2018 11:41 am

i rebooted the computer and Lightdm asks me for the password.
It does not accept the old password or a blank password.

I switched to another terminal (CTRL+ALT+F1) but it asks for login.
I tried to login as "root" or "my_username" but it always asks for a password. :oops:

User avatar
kyrios
Posts: 1973
Joined: Thu Sep 22, 2016 4:20 pm

Re: I think i broke my solus installation

Mon Apr 16, 2018 12:15 pm

geekborg wrote:
Mon Apr 16, 2018 11:41 am
i rebooted the computer and Lightdm asks me for the password.
It does not accept the old password or a blank password.

I switched to another terminal (CTRL+ALT+F1) but it asks for login.
I tried to login as "root" or "my_username" but it always asks for a password. :oops:
What if you press enter when you're prompted for the password ?

If it doesn't work, I fear you'll have to do a boot rescue to reset the password.

And next time, do not set a blank password to root that's bad.

geekborg
Posts: 3
Joined: Mon Apr 16, 2018 8:13 am

Re: I think i broke my solus installation

Mon Apr 16, 2018 12:20 pm

kyrios wrote:
Mon Apr 16, 2018 12:15 pm
geekborg wrote:
Mon Apr 16, 2018 11:41 am
i rebooted the computer and Lightdm asks me for the password.
It does not accept the old password or a blank password.

I switched to another terminal (CTRL+ALT+F1) but it asks for login.
I tried to login as "root" or "my_username" but it always asks for a password. :oops:
What if you press enter when you're prompted for the password ?
if I press enter (blank password) it asks for the password again.

sunnyflunk
Development Team
Posts: 2942
Joined: Sun Mar 13, 2016 11:35 pm

Re: I think i broke my solus installation

Tue Apr 17, 2018 11:46 pm

I believe there is a difference between a blank password and no password at all.

So by default, the root account has no password set, therefore is unable to be logged into. It's likely you've just done the same thing, but for your user account

Return to “Other Questions”