Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

can't login as root after fresh install debian 9

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
midish
Posts: 18
Joined: 2016-10-19 02:56

can't login as root after fresh install debian 9

#1 Post by midish »

after installing debian 9 kde I can't login as root in konsole. I have installed it twice just to make sure I put the right root password. I get this message:
su: Authentication failure

I know I can fix it with a live image but does this happen now, is there a reason or just a bug?

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: can't login as root after fresh install debian 9

#2 Post by Lysander »

There was a bug which resulted in this issue at the time of Stretch's release. Where/when did you get the iso? Which type is it?

midish
Posts: 18
Joined: 2016-10-19 02:56

Re: can't login as root after fresh install debian 9

#3 Post by midish »

It's a live kde amd64 iso I got from the official website just a few hours before I posted. Should I try another, like netinstall ?

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: can't login as root after fresh install debian 9

#4 Post by orythem27 »

Yes. You should avoid the live image at the moment.

joseph059
Posts: 8
Joined: 2017-07-14 03:33

Re: can't login as root after fresh install debian 9

#5 Post by joseph059 »

You don't need to reinstall. Open a terminal and type

Code: Select all

sudo passwd root
Enter your password for your user account. And then you should be able to set a new root password.

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: can't login as root after fresh install debian 9

#6 Post by orythem27 »

joseph059 wrote:You don't need to reinstall. Open a terminal and type

Code: Select all

sudo passwd root
Enter your password for your user account. And then you should be able to set a new root password.
Since he has set up a root password, his user would be out of the sudo group.

joseph059
Posts: 8
Joined: 2017-07-14 03:33

Re: can't login as root after fresh install debian 9

#7 Post by joseph059 »

You're right. I didn't realize that.

biochemistrygmcs
Posts: 8
Joined: 2017-07-20 13:48

Re: can't login as root after fresh install debian 9

#8 Post by biochemistrygmcs »

Current live Debian have this problem. With current netinstall this problem don't occur.

biochemistrygmcs
Posts: 8
Joined: 2017-07-20 13:48

Re: can't login as root after fresh install debian 9

#9 Post by biochemistrygmcs »

joseph059 wrote:You don't need to reinstall. Open a terminal and type

Code: Select all

sudo passwd root
Enter your password for your user account. And then you should be able to set a new root password.
With normal user sudo didnot work. Somehow root password supplied during installation did not reached installed setup

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: can't login as root after fresh install debian 9

#10 Post by GarryRicketson »

When you use "sudo", you do not use the root password, you use the
user's password.
With normal user sudo didnot work. Somehow root password supplied during installation did not reached installed setup
You can also "fix" this via grub, there is plenty of documentation, and you
do not need to re-install, as all ready mentioned.
Try key words:

Code: Select all

How to reset or recover a missing root password on Debian 
and a simple search.
Here is a couple I found for you.
The first hit, all though old , still applies:
https://pve.proxmox.com/wiki/Root_Password_Reset
another:
http://www.debianadmin.com/how-to-reset ... sword.html
There even are some "youtube" videos , for those that can not read.

Post Reply