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

 

 

 

New Debian 9. root disabled and user not in sudo! What the?!

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
techay
Posts: 11
Joined: 2017-06-21 15:40

Re: New Debian 9. root disabled and user not in sudo! What t

#16 Post by techay »

kopper wrote:I don't want to give a stupid advise but... Are you sure you are using the same keyboard layout as the installer was using? I've had some issues in the past that for reason or another, my native (Finnish) keyboard is not properly used by the installer even though I've selected it for use. Might want to check on that, especially if you've already tried reinstall once.
It's a fair question if you have not read anything I have previously mentioned.

This bug is reproducible, follow the steps I have taken with the Debian 9.0.1 / AMD64 / XFCE

techay
Posts: 11
Joined: 2017-06-21 15:40

Re: New Debian 9. root disabled and user not in sudo! What t

#17 Post by techay »

I am NOT going to mark this as solved - not until this bug still exists on the latest OS.

4 installations to get it working is ******* unacceptable.

And to the admin who blocked my other forum thread which was to highlight the fix for this bug - stop being defensive, suck it up and et over yourself.

Goodbye

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: New Debian 9. root disabled and user not in sudo! What t

#18 Post by HuangLao »

:| is this the future of Debian forum posts as more *buntu users try Debian?

This person clearly messed up the install, which is evident from his OP and subsequent rant responses, then blames Debian dev's.
http://www.microhowto.info/howto/reset_ ... ution.html
https://unix.stackexchange.com/question ... t-password
https://wiki.archlinux.org/index.php/Change_Root

Image

Now its solved...PS this could also be the image of systemd development.... :lol:

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: New Debian 9. root disabled and user not in sudo! What t

#19 Post by dasein »

techay wrote:I have no idea why no-one else is experiencing this madness.
Cosmic Coincidence.
techay wrote:tbh, I don't have the time nor patience
And yet you seem to have ample time to whine. Localized temporal distortion, no doubt.

Image

Seventh
Posts: 44
Joined: 2017-04-01 10:13

Re: New Debian 9. root disabled and user not in sudo! What t

#20 Post by Seventh »

I believe it is safer to leave the root account disabled and just use command

Code: Select all

sudo -i
if you want root access from the user.

Seventh
Posts: 44
Joined: 2017-04-01 10:13

Re: New Debian 9. root disabled and user not in sudo! What t

#21 Post by Seventh »

Id recommend OP go back and read the debian sudo wiki page.

https://wiki.debian.org/sudo

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 6 times
Been thanked: 16 times

Re: New Debian 9. root disabled and user not in sudo! What t

#22 Post by Dai_trying »

Ok, I originally thought the op was a little less than gracious about his FREE operating system and it's use, but having installed Stretch from the (updated) live iso (Xfce) I can confirm that this is a problem and it does exist!

If you install and give the root password during the installation then no entry is made for the new user in the sudoers file, which coupled with the root account not being accessible (su gives su: Authentication failure) the system now becomes non administrative!! The user cannot add him/herself to the sudoers file yet there is no way you can become root to make this change either! You are not allowed to log in as root so that is also out of the question (invalid password but entered correctly).

Surely there must be some apologies to the OP for the ridicule that has been posted here.
Seventh wrote:Id recommend OP go back and read the debian sudo wiki page.

https://wiki.debian.org/sudo
Really?!?!

Surely if you enter a root password during the install then the root account should not be disabled in an way, after all isn't that the point of setting a password here, so that users who do not need access to the system cannot simply do what they want with sudo?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: New Debian 9. root disabled and user not in sudo! What t

#23 Post by Wheelerof4te »

I am glad that the OP was right. I already told him to report this bug, but you can do it too, Dai_trying.

As I have said previously, Debian Stretch was released way before it's time. Other issues might pass, but problem with privileges is a dire problem indeed.

User avatar
hadrons123
Posts: 59
Joined: 2012-01-31 09:58
Location: NYC

Re: New Debian 9. root disabled and user not in sudo! What t

#24 Post by hadrons123 »

I have this issue as well. I cant login to my root account through bash with my root password. None of the TTYs work either. Its a bug and I don't see any bug report on this. Maybe I have to file one.
LENOVO Y580 CORE i7 3630QM|8 GB RAM |16GB Sandisk SSD| Debian, Fedora, ARCH

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

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

Re: New Debian 9. root disabled and user not in sudo! What t

#25 Post by orythem27 »

Strange. I guess a problem with debian installation process tends to go unnoticed among experienced users. Since debian is usually so rock solid that once installed, you typically don't have to touch the installer again for a long long time. :wink:

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

Re: New Debian 9. root disabled and user not in sudo! What t

#26 Post by GarryRicketson »

Post by wizard10000 » 2017-06-22 10:06
What's the common thread here? Is it only the XFCE live image?
No it is not just the XFCE live image,....

There were / are several problems associated with the Debian live images,
some have been fixed, others are still being worked on.
See the "errata" thread, here:
http://cdimage.debian.org/cdimage/relea ... so-hybrid/

Also some discussion here:
https://lists.debian.org/debian-cd/2017 ... 00039.html
Hi folks,

We found multiple issues in the live images released at the
weekend. Since then, I've been working on fixes for the worst
problems. I've just published a new set of images as 9.0.1. Here's a
summary of the issues found, and current status:
----snip-----
There are new images available, but if it was me, I would give this more time, or
try using a different image, and not the live images , just yet.

User avatar
hadrons123
Posts: 59
Joined: 2012-01-31 09:58
Location: NYC

Re: New Debian 9. root disabled and user not in sudo! What t

#27 Post by hadrons123 »

I have issues with Mate and Gnome desktop live images. Are other people having the same issue?
LENOVO Y580 CORE i7 3630QM|8 GB RAM |16GB Sandisk SSD| Debian, Fedora, ARCH

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: New Debian 9. root disabled and user not in sudo! What t

#28 Post by HuangLao »

In general it is a good policy to use Live CD's for testing etc...and use the installation CD for installing the OS. Live CD's are notorious for having problems, its the main reason why openSUSE stopped creating them officially.

User avatar
hadrons123
Posts: 59
Joined: 2012-01-31 09:58
Location: NYC

Re: New Debian 9. root disabled and user not in sudo! What t

#29 Post by hadrons123 »

the root disabled in terminal and TTYs is unacceptable and it is not specific to Live CD, I guess.
LENOVO Y580 CORE i7 3630QM|8 GB RAM |16GB Sandisk SSD| Debian, Fedora, ARCH

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: New Debian 9. root disabled and user not in sudo! What t

#30 Post by HuangLao »

hadrons123 wrote:the root disabled in terminal and TTYs is unacceptable and it is not specific to Live CD, I guess.
just did an install in VM from minimal install CD and it worked fine.

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

Re: New Debian 9. root disabled and user not in sudo! What t

#31 Post by Lysander »

I love the slow proliferation of the term "unacceptable" for an operating system which is literally given away.

User avatar
hadrons123
Posts: 59
Joined: 2012-01-31 09:58
Location: NYC

Re: New Debian 9. root disabled and user not in sudo! What t

#32 Post by hadrons123 »

Well my term may not be politically correct , but the bug is grave and its not expected in a highly reputed Debian Distribution final version iso
LENOVO Y580 CORE i7 3630QM|8 GB RAM |16GB Sandisk SSD| Debian, Fedora, ARCH

Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

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

Re: New Debian 9. root disabled and user not in sudo! What t

#33 Post by GarryRicketson »

hadrons123 wrote:I have issues with Mate and Gnome desktop live images. Are other people having the same issue?
Yes , well, I don't know if the issues are the same as yours, but yes others are having problems, and they are working on fixing the problems.

https://lists.debian.org/debian-cd/2017 ... 00039.html

See this:
http://cdimage.debian.org/cdimage/relea ... so-hybrid/
6. The root directory of the live images has very restrictive permissions

Status: Fixed in 9.0.1

The root directory is mode 0700 (i.e. drwx------)

See #865386.

User avatar
sunrat
Administrator
Administrator
Posts: 6496
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 476 times

Re: New Debian 9. root disabled and user not in sudo! What t

#34 Post by sunrat »

Maybe you could set the root password after installation. Worth trying:
https://wiki.archlinux.org/index.php/re ... t_password
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: New Debian 9. root disabled and user not in sudo! What t

#35 Post by HuangLao »

I just did an install (VM and bare metal) from debian-live-9.0.1-amd64-xfce.iso:
runs fine from live mode, however, as others have stated when you install it, the root password even though set during install flags an authentication error when attempting su from cli. This was apparently fixed according to links posted in other responses, however, fixed it is not.

So installing from liveCD even from the ncurses installer not live mode is a no-go for now. Also, as someone else mentioned, running liveCD there is no option to install from live environment, one could always reboot and choose install but ...

Locked