LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Login problem after fedora10 installation (https://www.linuxquestions.org/questions/linux-newbie-8/login-problem-after-fedora10-installation-747731/)

gautamshaw 08-15-2009 06:07 AM

Login problem after fedora10 installation
 
Today i installed fedora10.

Unfortunately it does not allow the users to enter as the root directly after inatallation.

So in the file /etc/pam.d/gdm i tried to removed the !=root quite part and tried to save the file......

But unfortunately while saving the file i got this message:

You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.

And then i cant save the file.

The last time (a few months before) i did the same thing and i was able to login as the root.

Now what should i do so that i can enter as the root?

Wim Sturkenboom 08-15-2009 06:42 AM

Did you try to do this exercise as the root user or as a normal user?

repo 08-15-2009 06:56 AM

Quote:

Now what should i do so that i can enter as the root?
Could you tell me why you want to login as root in the GUI?
It's a security risk, there is a reason why it is this way.

However, open a terminal and become root by using su or sudo
And do the changes

gautamshaw 08-15-2009 07:32 AM

Quote:

Originally Posted by Wim Sturkenboom (Post 3644259)
Did you try to do this exercise as the root user or as a normal user?

well if i would have been a root user then why would i post this thread over here?

gautamshaw 08-15-2009 07:34 AM

Quote:

Originally Posted by repo (Post 3644270)
Could you tell me why you want to login as root in the GUI?
It's a security risk, there is a reason why it is this way.

However, open a terminal and become root by using su or sudo
And do the changes

I dont know the proper syntax of su or sudo command.......

Can you help me out of this?

repo 08-15-2009 07:40 AM

open a terminal and type
Code:

su -
then type the root password.

I would strongly suggest to do some reading.
http://www.fedorafaq.org/

gautamshaw 08-15-2009 08:07 AM

ok i did it......

Can you tell me the uses of this sudo command?

repo 08-15-2009 08:10 AM

Take a look at
http://www.mjmwired.net/resources/mj...-f10.html#sudo

I would suggest NOT to login as root in the GUI, use su or sudo if you want to perform root tasks
su or sudo will give you root privileges while performing root tasks

Wim Sturkenboom 08-16-2009 01:44 AM

Quote:

Originally Posted by gautamshaw (Post 3644300)
well if i would have been a root user then why would i post this thread over here?

You could already have used repo's 'su -' and it did not work or you could have used <ctrl><alt><F1> to switch to a console and login as root and it did not work.

I wanted to make sure that we were on the same wavelength (and we obviously were not ;) )


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