Re: CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/9/21 11:31 AM, Johnny Hughes wrote:

On 4/9/21 5:18 AM, Steve Clark via CentOS wrote:


On 4/8/21 3:50 PM, Tony Schreiner wrote:

On Thu, Apr 8, 2021 at 2:33 PM Nicolas Kovacs
<info@xxxxxxxxxxxxx><mailto:info@xxxxxxxxxxxxx><mailto:info@xxxxxxxxxxxxx><mailto:info@xxxxxxxxxxxxx> wrote:



Le 08/04/2021 à 18:58, Steve Clark via CentOS a écrit :


How do I allow root log in on GDM.



tl;dr: you don't.

Log in as a non-root user, and when you do need root, either open up a
terminal
and use 'su -' or (even better) setup your user by making your user a
member of
the wheel group and then use sudo.

Logging in to a GUI as root is *BAD* practice.

Cheers,

Niki





That said - you can do it, by clicking on "Not listed?" and typing root
into the user field.

Yes I have done that and it immediately comes back to the login screen,
I know I am typing the
correct passwd, because if I botch the passwd I get a message to that
effect.






I would not recommend ever using the GUI as the root user .. it creates
keys and items that are very dangerous. (gnome key rings, etc)

You should be able to 'su -' , then use visudo to create a sudo account
for your user.  You can even NOPASSWD your user for using sudo (you may
or may not want to do that .. if someone gains access to your local
account, they could then sudo with no passwd).

But, i have never, ever logged in as root on a GUI account directly on a
machine that I cared about or was keeping live .. just advise, do with
it what you will.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx<mailto:CentOS@xxxxxxxxxx>
https://lists.centos.org/mailman/listinfo/centos


Turns out that as the intial user I was put into the wheel group so I am able to login and run firewall-config which what this
was about.

--
Stephen Clark
NetWolves Managed Services, LLC.
Sr. Applications Architect
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@xxxxxxxxxxxxx<mailto:steve.clark@xxxxxxxxxxxxx>
http://www.netwolves.com

Email Confidentiality Notice: The information contained in this transmission may contain privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately and delete this email and any attachments from any computer. Vaso Corporation and its subsidiary companies are not responsible for data leaks that result from email messages received that contain privileged and confidential and/or protected health information (PHI).
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux