LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root Authorization fails. Fedora 10 (https://www.linuxquestions.org/questions/linux-newbie-8/root-authorization-fails-fedora-10-a-716542/)

mi6091 04-03-2009 05:01 AM

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

maxy7710 04-03-2009 05:10 AM

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

linuxlover.chaitanya 04-03-2009 05:52 AM

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.

mi6091 04-03-2009 07:27 AM

Quote:

Originally Posted by maxy7710 (Post 3497025)
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.

maxy7710 04-03-2009 07:30 AM

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.

mi6091 04-03-2009 07:42 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3497061)
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 ?

maxy7710 04-03-2009 07:52 AM

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


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