elementary OS Asked by Jung on February 15, 2021
Is it possible at all to login to elementary os as root. I enabled root account by setting a password. To make root appear as one of the login accounts on the GUI login screen, what are the next steps?
Is there a file that I need to edit to let root appear in the login screen? E.g., Ubuntu has it in /etc/gdm3 directory. something similar in elementary ?
Thanks for your time.
Jung
Logging in through a graphical user interface as root is considered a security risk, so most display managers aren't going to cater to this.
You should almost always use sudo
to execute commands as root.
If you would like a root shell, then on Debian-based systems such as elementaryOS, log in as your normal user and run sudo su
from the terminal.
If you need to avoid logging in as a normal user, either boot in to emergency / single-user mode by selecting the option from the Grub menu or switch to a different, non-graphical TTY with Ctrl-Alt-F2, for example, and login that way as root.
You can switch back to the display manager with Ctrl-Alt-F7.
Answered by jwillikers on February 15, 2021
When you say "root" do you mean a user named "root" (the default sudo username) or do you just mean logging in with root privileges?
What do you need to do with a root login?
Thanks, Col
Answered by CocoisBuggy on February 15, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP