LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Need a superuser gui in Fedora in the startup screen (https://www.linuxquestions.org/questions/fedora-35/need-a-superuser-gui-in-fedora-in-the-startup-screen-4175607041/)

bscho 05-31-2017 11:05 AM

Need a superuser gui in Fedora in the startup screen
 
In the bootup gui screen the top user is a superuser.
Mine was user Barry.

I used in a terminal the command to change the password passwd Barry and changed the password.

I then found Barry was no longer a superuser and Barry had a default screen without my usual desktop.

Rather than a fresh install I would like to restore the gui superuser
I think the answer lies in the etc/passwd file with the lines
root x:0:0:root
and
user x:0:0:user

where user is the top most user on the startup gui screen.

can anyone give me these lines please,

or you have any idea how to solve the problem?

Doug G 05-31-2017 09:45 PM

You should have stuck to your original thread rather that starting a new thread. My $0.0000002

bscho 05-31-2017 10:36 PM

Quote:

Originally Posted by Doug G (Post 5717695)
You should have stuck to your original thread rather that starting a new thread. My $0.0000002

Why? It's a different question.

I had to solve the original question by myself as some alleged they couldn't understand it.

Many answers were from those who were not using Fedora.


Though I did learn a lot from some which gave me the answer.

!!! 06-01-2017 12:07 AM

Fedora 26 / Wayland may have changed restricions on GUI as UID 0. I found:
(tho I do not understand it!!! polkit? I gave up at PAM)
Quote:

Unfortunately and fortunately, you can't launch an application with a GUI as root in a Wayland session.
e.g. this? Maybe someone who has the resources (I don't, sorry) could try what OP is doing/asking, before answering (like in a disposable F26 VBox VM).

Can/have you tried (tho logging in as root is strongly advised against)
Quote:

Start a Gnome with an Xorg session: After clicking your username [root] in GDM (the greeter/login manager), click the little gear and select Xorg, then enter your [root] password
Also, note that the kernel operates by numeric uid. (kernel can run without /etc/passwd; DistroWatch/mll does!!!) Theory: http://man7.org/linux/man-pages/man7...ilities.7.html

Minor thought: gdm might need a signal (or restart/reboot), to re-read config info (like pkill -1 gdm), if changes/edits are done.

unSpawn 06-05-2017 06:09 AM

Quote:

Originally Posted by bscho (Post 5717707)
Why? It's a different question.

No it's not: it's related. And in your case I agree I'd rather see you stay with your previous thread on the subject. Especially since it seems there may be a misunderstanding of certain concepts and lack of basic information given plus I get the distinct feeling you're bent on weaken the security posture of your Fedora installation no matter the amount of Red Flags fellow LQ members try to raise.

bscho 06-05-2017 06:11 AM

Quote:

Originally Posted by unSpawn (Post 5719131)
No it's not: it's related. And in your case I agree I'd rather see you stay with your previous thread on the subject. Especially since it seems there may be a misunderstanding of certain concepts and lack of basic information given plus I get the distinct feeling you're bent on weaken the security posture of your Fedora installation no matter the amount of Red Flags fellow LQ members try to raise.

Thanks I have solved both issues now thanks.

unSpawn 06-05-2017 06:26 AM

Good to hear. Please post your solution in the other thread for others to learn from and mark it "solved", thanks!

bscho 06-05-2017 07:49 AM

Quote:

Originally Posted by unSpawn (Post 5719139)
Good to hear. Please post your solution in the other thread for others to learn from and mark it "solved", thanks!

I have solved it myself in the other thread and I clearly said that I was not making it solved as know one gave me the answer. I therefore did not mark it as solved as stated in the heading.

I have marked it as solved in this thread as you know I do not think the threads are at all the same.

unSpawn 06-06-2017 12:09 PM

Ah OK. Since your problem essentially was solved there I'll mark that thread "solved" for you.

bscho 06-06-2017 03:36 PM

Quote:

Originally Posted by unSpawn (Post 5719731)
Ah OK. Since your problem essentially was solved there I'll mark that thread "solved" for you.

No, you should not as I had to solve it for myself only if it was solved by those who helped should it be marked solved.
It was not solved by those who contributed so it should not be marked as solve that is the rule.

You would clearly be miss using your position. Change the rule if you disagree but do not mark it as solved otherwise you would do the same when
anyone made a contribution however inane.

had interesting input from the contributors which lead me to learn a lot. I thank them for that as they made a great effort to help.


All times are GMT -5. The time now is 02:03 AM.