0

I have enabled automatic root login in Ubuntu 19. But I want to disable this feature.

I have tried a lot using this link. But I cant disable this automatic root login.

I have tried this link. I have run the following command but still does not get any clue how to do this ?

sudo systemctl enable [email protected]

Please help me to disable automatic root login in ubuntu 19 where I have used GDM3 ?

Update:

I have checked my ubuntu version using lsb_release -a command. this gives me following output:

Distributor ID: Ubuntu Description: Ubuntu 19.04 Release: 19.04 Codename: disco

3
  • 1
    What OS/release are you using? There is no Ubuntu 19, nor a Ubuntu Core 19 (or other release that uses year format instead of year.month). Ubuntu desktop also does not have root user by default.
    – guiverc
    Commented Jan 8, 2020 at 8:05
  • I have enabled root user by command.Also my ubuntu version is 19.04 Commented Jan 8, 2020 at 8:21
  • 1
    The root account is disabled by default in all desktop flavors of Ubuntu, so you must have done much more than simply enable automatic login. I'm not sure how you accomplished the feat of combining enabled root and automatic login...so I'm not sure how to tell you to undo it.
    – user535733
    Commented Jan 8, 2020 at 15:20

0

You must log in to answer this question.

Browse other questions tagged .