A follow-up post on "Removing a GUI mistakenlyinstalled.."

Here wizards, magicians, sorcerers and everybody can rest a bit and talk about anything they like.

Just remember to respect the rules.

A follow-up post on "Removing a GUI mistakenlyinstalled.."

Postby rodgoslin » Jul 7th, '24, 18:08

I recently submitted a post regarding booting Mageia into a GUI as root. Something generally regardewd as a nono. After a nunber of posts to this query, there seemed no solution to this seeming anomalour boot option. Except, not to use it! Still curious, on a Thinkpad loaded with Mageia from a number of years ago, I tried the same login sequence as root. it worked. I could login as root in a GUI. I had thought that the relative who had built the install, had performed some action that allowed such an effect. His last re-boot before sending me the machine had been to boot under root, so the next re-boot had been with the same user. Admittedly, it did require roots password, but it is generally acknowledged, that running root in a GUI is a nono. Some years ago, on this forum I was flamed for mentioning running konqueror as root to get around a problem with remote connection with SMB to install files and manage a Drobo unit, was only possible as root. I did, subsequently find a solution to this on a Ubuntu forum, and as a normal user I now have full access rights to such units mounted uning Ciffs.
But surely, if a graphical login as root is a bad thing, it should not be possible, as a matter of course.
rodgoslin
 
Posts: 523
Joined: Nov 19th, '11, 01:31

Re: A follow-up post on "Removing a GUI mistakenlyinstalled.

Postby Germ » Jul 7th, '24, 18:42

Running as root is not inherently bad. Although there are a lot of bots scanning the internet for open SSH ports. If they can guess the root password then they have total control over your machine.

I login as root sometimes but always make sure I am not connected to the internet. Although, there is really nothing you can not do as a user with su - and sudo, some things are just easier when you login as root.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 716
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: A follow-up post on "Removing a GUI mistakenlyinstalled.

Postby Germ » Jul 7th, '24, 18:46

Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 716
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: A follow-up post on "Removing a GUI mistakenlyinstalled.

Postby banjo » Jul 7th, '24, 19:43

I always do my sysadmin work logged in as root.

I never do general purpose work logged in as root.

To keep myself honest, I color the bash prompt red when logged in as root.

I never run a graphical desktop as root.

I do not use sudo. Why? I am old school, and giving any root privilege to anyone using their own credentials makes me nervous. If you don't know the root password, you have no business changing the system.

That said, this is a home system with 4 users, and I am the only one who even cares how it works. Tempest in a teapot.

Just MHO. This old dog doesn't like the new tricks.

Banjo
(_)=='=~
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts


Return to The Wizards Lair

Who is online

Users browsing this forum: No registered users and 1 guest

cron