LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-15-2009, 07:07 AM   #1
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Rep: Reputation: 0
Unhappy 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?
 
Old 08-15-2009, 07:42 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Did you try to do this exercise as the root user or as a normal user?
 
Old 08-15-2009, 07:56 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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
 
Old 08-15-2009, 08:32 AM   #4
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Wim Sturkenboom View Post
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?
 
Old 08-15-2009, 08:34 AM   #5
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
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?
 
Old 08-15-2009, 08:40 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
open a terminal and type
Code:
su -
then type the root password.

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

Last edited by repo; 08-15-2009 at 08:49 AM.
 
Old 08-15-2009, 09:07 AM   #7
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Unhappy

ok i did it......

Can you tell me the uses of this sudo command?
 
Old 08-15-2009, 09:10 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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

Last edited by repo; 08-15-2009 at 09:11 AM.
 
Old 08-16-2009, 02:44 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by gautamshaw View Post
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 )
 
  


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
Problem with fedora 11 when upgrade my fedora10 CZTY Linux - Newbie 19 06-10-2009 11:44 PM
Problem with fedora 11 when upgrade my fedora10 CZTY Fedora 2 06-10-2009 11:22 PM
Postfix Problem at Fedora10 rasalp Linux - Server 1 05-15-2009 07:17 AM
Dual Boot Fedora10/WindowsXP (Fedora10 installed first) jalf86 Fedora 8 12-26-2008 04:40 PM
Installation and problem with Login feuercau Linux - Newbie 5 03-17-2006 03:21 PM


All times are GMT -5. The time now is 08:28 AM.

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