LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-21-2013, 01:03 AM   #1
guyver000
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Rep: Reputation: Disabled
sudoer can not install applications from desktop


Sorry if this is the wrong forum but, I have a new install of fedora 18
user 1 installed the os and set up users root, and then user 1 as a super user. Then added user 2 and added user 2 to the sudoers list.

When user 2 logs in they can run anything from terminal using sudo but if they try anything from the gui that takes super user permissions, it asks for user 1 credentials not user 2 or root.
 
Old 06-21-2013, 01:16 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,031

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
the gnome3 desktop on fedora is mostly decoration
you are not supposed to install software from it

use the already created "bin" folder in your home folder
or even "Downloads"

Also how did you set up " sudo" fedora dose not use it by default
Fedora uses " su " and " su -"

Quote:
user 1 installed the os and set up users root, and then user 1 as a super user. Then added user 2 and added user 2 to the sudoers list.
????
What ?
you have TWO root users ?

that is not good
your FIRST normal user is not supposed to have root authority
that will royally mess up SELinux

You might want to read the fedora documentation
http://docs.fedoraproject.org/en-US/...ide/index.html
and see the links on the left window

running the GUI as root is mostly disabled in fedora AND in Gnome
fedora will not even let you log in to gnome as root .
 
Old 06-21-2013, 01:30 AM   #3
guyver000
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for the quick response

I did not install this instance of fedora, I am user 2. I have the root password and my credentials. I am logging in as user 2. I could fix the issue by resetting user1 credentials but I would rather find out why the gui is asking for user1 credentials at all.

as for adding the user to sudo this is the sudoers file in /etc/sudoers

root ALL=(ALL) ALL
user1 ALL=(ALL) ALL
user2 ALL=(ALL) NOPASSWD:ALL

As far as I know there is 1 root user and 2 additional superusers.
 
Old 06-21-2013, 02:27 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,031

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
the pop up should NOT be asking for "user1"
it should be asking for the root password
"user1" should not be in the root group

that will cause all kinds of problems
 
1 members found this post helpful.
Old 06-21-2013, 03:13 AM   #5
guyver000
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi John
Again thanks for the quick response.
I resolved the issue

user1 was in the wheel group

I tried removing the user, adding user2, removing all users and adding root to the wheele group none of this allowed me to use the root password

I added user3, made it the only user in the wheel group and now the gui asks for user 3.

I still have not found a way to just have it ask for the root password.
 
Old 06-21-2013, 03:44 AM   #6
guyver000
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Now the issue is resolved. It appears I had the root password wrong

removed all users from wheel group
reset root password
now gui prompts for administrator credentials, which is root and works as expected.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How to install applications on and update Linpus Lite Desktop 1.7 LXer Syndicated Linux News 0 03-21-2012 09:20 AM
Sudoer Help ........ jitendriya.dash Linux - General 3 06-05-2009 05:02 AM
Why cant I install applications? on Add/Remove Applications totaldisaster Ubuntu 2 04-13-2008 01:02 AM
How do you install applications on KDE desktop ? leland9000 Linux - Newbie 3 03-18-2008 11:18 AM
/etc/sudoer mikz Linux - General 1 02-25-2005 02:04 PM


All times are GMT -5. The time now is 01:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration