LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2009, 06:01 AM   #1
mi6091
LQ Newbie
 
Registered: Jan 2009
Posts: 23

Rep: Reputation: 15
root Authorization fails. Fedora 10


When I change the time for example... or update the system I expect a pop-up prompting for my root password to appear, but it doesn't. Instead noting happens or is says that I don't have privileges to do that.

Doing the things under the console as root works fine, but I want to use the GUI again.


Thanks in advance.

My kernel is 2.6.27.19-170.2.35.fc10.i686

I'm using GNOME 2.24.3
 
Old 04-03-2009, 06:10 AM   #2
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
Can u elaborate exactly what problem u r facing.

from u previous post i guess u r logged in as a regular user & not as root and trying to execute root commands.if that's correct then all u have to do is create a sudo user & then u can run root commands using that user.

as far the GUI goes, i guess u have logged in run level 3 & to switch to run level 5 u have use start x from command line & u will get the GUI.

to make it permanently make changes in /etc/inittab i.e 1d:5:initdefault
 
Old 04-03-2009, 06:52 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If while executing the super user commands in GUI, it is usually done using "sudo". It will ask you for the password but you need to supply your user password, the same that you use to login and not the root password.
 
Old 04-03-2009, 08:27 AM   #4
mi6091
LQ Newbie
 
Registered: Jan 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by maxy7710 View Post
Can u elaborate exactly what problem u r facing.

from u previous post i guess u r logged in as a regular user & not as root and trying to execute root commands.if that's correct then all u have to do is create a sudo user & then u can run root commands using that user.

as far the GUI goes, i guess u have logged in run level 3 & to switch to run level 5 u have use start x from command line & u will get the GUI.

to make it permanently make changes in /etc/inittab i.e 1d:5:initdefault

It is already set to 5.
 
Old 04-03-2009, 08:30 AM   #5
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
to switch between command prompt & GUI use alt+ctrl+function keys

i.e : - alt+ctrl+f1 to f6 are for command line & alt+ctrl+f7 is for GUI.
 
Old 04-03-2009, 08:42 AM   #6
mi6091
LQ Newbie
 
Registered: Jan 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linuxlover.chaitanya View Post
If while executing the super user commands in GUI, it is usually done using "sudo". It will ask you for the password but you need to supply your user password, the same that you use to login and not the root password.

When was trying to do something whit sudo ... I discovered it doesn't work ...

Code:
[mi60@localhost ~]$ sudo du -sh /root
sudo: must be setuid root

The tutorials seems not to work .

Any ideas ?
 
Old 04-03-2009, 08:52 AM   #7
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
suid bit is not set on sudo, so u need to set the suid bit.
But suid bit from sudo is removed for security purpose.

chmod u+s /usr/bin/sudo, u should get something like this

---S--X--X *************/usr/bin/sudo

Also u mi should be a sudo user, so do following

vi /etc/sudoers
mi ALL=(ALL) ALL
 
  


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
Fedora 9 gedit fails if launched as root from terminal itstootuff Linux - Software 5 10-28-2008 01:56 PM
Kubuntu S.O.S: Cannot use any root authorization programs Archoniam Ubuntu 7 09-02-2007 09:23 AM
Root Authorization Required to Reboot and Shutdown rioch Linux - Desktop 2 09-14-2006 10:43 AM
fedora core 4 won't boot from grub, fails when changing root silex_88 Fedora 3 10-01-2005 04:58 PM
Forgetting Root Authorization duane534 Fedora 0 09-16-2005 06:26 PM


All times are GMT -5. The time now is 07:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration