LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 11-01-2019, 05:58 AM   #1
Wotuom
LQ Newbie
 
Registered: Nov 2019
Posts: 3

Rep: Reputation: Disabled
Question Fedora Workstation 31 in Windows Domain no root oder su access.


Hi,

I just installed Fedora Workstation 31 on Hyper-V.
During the installtion root gets deactivated by Default.

I selected Enterprise Login (domain join) at the user creation. Which worked fine.

But based on the fact, that this domain user is the only user on the machine of which I know the credentials… this user should have administrative rights, I suppose ;-)
Unfortunately the (domain)user has not.
su, sudo, … won't work because the user is not in the sudoer list.
With this situation and still disabled root I'm lost.

Can anyone help?
(I suppose it would work to reinstall with an (unneccesary) local user instead of a Domain join, but it won't feel "right")

Greetings

Kai
 
Old 11-02-2019, 03:08 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
When I was working with Linux systems with AD, the user I used to join the domain did not have admin rights. It only had permission to join the domain which is a smart way to do it.
Try logging in with a user with admin right ans see if they have sudo, then yes you need to make a local user that has sudo access.
 
Old 11-04-2019, 01:46 AM   #3
Wotuom
LQ Newbie
 
Registered: Nov 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
When I was working with Linux systems with AD, the user I used to join the domain did not have admin rights. It only had permission to join the domain which is a smart way to do it.
Try logging in with a user with admin right ans see if they have sudo, then yes you need to make a local user that has sudo access.
I used a Domain Admin account because I anticipated that I wouldn't have sudo rights otherwise… unfortunate it didn't work and from my google search perspective this is a unsolved problem for several versions…. but if so... this kind of Installation makes no sense... which I can't believe ;-)
 
Old 11-04-2019, 02:57 AM   #4
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
On the latest fedora workstation releases, the user you create during installation gets sudo rights.
 
Old 11-04-2019, 05:03 AM   #5
Wotuom
LQ Newbie
 
Registered: Nov 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hendrickxm View Post
On the latest fedora workstation releases, the user you create during installation gets sudo rights.
If the latest means later than this post, than I will gladly check it. But at getfedora.org is no newer Version.
I'm pretty sure that a local user you create during Installation will have sudo rights, but I'm also sure that if you use an existing domain user… the user has no sudo right.
 
Old 11-05-2019, 06:25 AM   #6
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Quote:
Originally Posted by Wotuom View Post
If the latest means later than this post, than I will gladly check it. But at getfedora.org is no newer Version.
I'm pretty sure that a local user you create during Installation will have sudo rights, but I'm also sure that if you use an existing domain user… the user has no sudo right.
At least since f30 so also f31, when you create a user during install, that user will have sudo rights.
 
Old 01-18-2020, 05:37 PM   #7
vaniderstine
LQ Newbie
 
Registered: Aug 2009
Location: US
Distribution: 1) CentOS, 2) Ubuntu, 3) Fedora
Posts: 1

Rep: Reputation: 0
I have the same problem after installing Fedora 31 and joining it to a FreeIPA domain during setup.

I don't recall choosing to encrypt the disk, so should I be able to interrupt boot and fix this? Or will I need to unset password of the root account to to this?

Also, hendrckxm, I didn't create a user, I joined the machine to an existing domain (and I used a domain administrator account to do this).

One thing I haven't tried is to create a domain user named 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
Fedora Workstation 30 root access udaman Fedora 3 07-17-2019 05:19 PM
"the trust relation between this workstation and the primary domain failed" windows 7 domain joining ach68 Linux - Server 2 03-27-2011 11:33 PM
Oder of booting after upgrades in Fedora 7 F.Celine Linux - Newbie 2 01-18-2010 11:04 PM
Windows workstation Samba error "not allowed to log on from this workstation" salscozzari Linux - Networking 0 01-02-2008 02:04 PM
sort oder suse 9.1 nmayotte Linux - Distributions 0 08-10-2004 03:45 PM

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

All times are GMT -5. The time now is 10:39 PM.

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