can't login as root after fresh install debian 9

Help with issues regarding installation of Debian

can't login as root after fresh install debian 9

Postby midish » 2017-07-19 19:59

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?
midish
 
Posts: 18
Joined: 2016-10-19 02:56

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

Postby Lysander » 2017-07-19 21:02

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?
User avatar
Lysander
 
Posts: 360
Joined: 2017-02-23 10:07
Location: London

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

Postby midish » 2017-07-20 00:15

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 ?
midish
 
Posts: 18
Joined: 2016-10-19 02:56

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

Postby orythem27 » 2017-07-20 00:28

Yes. You should avoid the live image at the moment.
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

Postby joseph059 » 2017-07-20 02:17

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.
joseph059
 
Posts: 8
Joined: 2017-07-14 03:33

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

Postby wizard10000 » 2017-07-20 10:11

we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

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

Postby orythem27 » 2017-07-20 10:49

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

Postby joseph059 » 2017-07-20 12:23

You're right. I didn't realize that.
joseph059
 
Posts: 8
Joined: 2017-07-14 03:33

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

Postby biochemistrygmcs » 2017-07-20 14:19

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

Postby biochemistrygmcs » 2017-07-20 14:22

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
biochemistrygmcs
 
Posts: 8
Joined: 2017-07-20 13:48

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

Postby GarryRicketson » 2017-07-20 16:38

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-debian-root-password.html
There even are some "youtube" videos , for those that can not read.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4443
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable