LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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, 06:42 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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, 06:56 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 07: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, 07: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, 07:40 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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 07:49 AM.
 
Old 08-15-2009, 08: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, 08:10 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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 08:11 AM.
 
Old 08-16-2009, 01:44 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration