LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-23-2023, 03:10 PM   #1
williambrown615
LQ Newbie
 
Registered: Jan 2014
Posts: 13

Rep: Reputation: Disabled
Root U ser Password for Fedora 37


I just installed Fedora 37. It has no option to create a Root User password. I want to install the GCC Compiler and it needs the Root User password for installation. I give my User password but that doesn't work. How can I set a Root password?
 
Old 04-23-2023, 03:50 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,716

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
If you did not enable root at installation then you would use sudo with your user's password i.e.

sudo dnf groupinstall "Development Tools"

Last edited by michaelk; 04-23-2023 at 04:47 PM. Reason: syntax error.
 
Old 04-24-2023, 09:50 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it dose look like fedora dropped the root user and "su -" for " sudo" and the user account
 
Old 05-02-2023, 04:12 PM   #4
Overlay1874
LQ Newbie
 
Registered: May 2023
Location: Oklahoma, USA
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
it dose look like fedora dropped the root user and "su -" for " sudo" and the user account
Which is a good change, in my honest opinion. If someone needs direct root access, they should be elevating from a user context. sudo for terminal applications. For graphical applications: pkexec, kdesu, gksu.

Here be Dragons
  • You can still assume the root user's account. It is still there, you just need an elevated account to access it. You can do the following:
    Code:
    sudo su -
  • Now if you absolutely want to enable root login, you can always run:
    Code:
    sudo passwd root
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
from windows m/c how to provide the username and password to login into the samba ser lakshminarayanan86 General 3 06-25-2010 09:28 PM
Problem with Ser Service Status: ser dead but subsys locked Reu Linux - Software 2 11-03-2007 12:00 PM
installing ser using dpkg martinc Debian 3 11-09-2004 06:25 AM
Query: connect with ex. ser. modem pppd died unexpectedly Hal Linux - Networking 2 07-03-2004 09:00 AM
Probem in Rain (Mirror ser) mobassir Linux - Hardware 0 08-07-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration