LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2010, 12:48 AM   #1
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Rep: Reputation: 15
root authentication failure in Fedora Core 12.


I have just installed Fedora Core 12.

Whenever i try to login as root it gives Authentication failure.
Code:
Username: root
Password: correct
Code:
Authentication Failure

I want to login as root and want to modify some cfg files.
Please tell me a way to login as root.

Also, I want to run "rsh" and "telnet" services.
Please tell me how to do that in fedora core 12. The system shows that package is installed but i am not able to find services running.
Thanks
 
Old 01-28-2010, 02:01 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434

Rep: Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790
You don't want to run rsh or telnet, they are not encrypted. Use ssh instead.
http://www.informit.com/articles/art...p=169465&rll=1

Aslo for security reasons, you cannot login at the GUI as root; you have to login as a normal user, then 'su -' to root or use sudo.
The GUI tools that require root access will ask for the root passwd when you activate them.
 
Old 01-28-2010, 02:38 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Hi rohit0825,

If you are not able to login as root, login as normal user then type following command to gain super user access.
Code:
su
Go for ssh instead of rsh.

I believe only rsh client is installed in your machine.

If you have to use rsh then probably you have to install rsh-server.rpm package which is not part of fedora12 distribution.

Follow following link to setup rhs server..
Code:
http://groups.google.com/group/huyuhui/web/configure-rhs-on-rhel
Cheers !!!
 
Old 01-28-2010, 04:07 AM   #4
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chrism01 View Post
You don't want to run rsh or telnet, they are not encrypted. Use ssh instead.
http://www.informit.com/articles/art...p=169465&rll=1

Aslo for security reasons, you cannot login at the GUI as root; you have to login as a normal user, then 'su -' to root or use sudo.
The GUI tools that require root access will ask for the root passwd when you activate them.
thats not possible
i want rsh and telnet at any cost

please suggest something good
 
Old 01-28-2010, 05:49 AM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by rohit0825 View Post
thats not possible
i want rsh and telnet at any cost

please suggest something good
If you insist to compromise you're system .
Take a look at /etc/pam.d/gdm
You find a line about the authentication of root make that line a remark.
 
Old 01-28-2010, 06:29 AM   #6
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ronlau9 View Post
If you insist to compromise you're system .
Take a look at /etc/pam.d/gdm
You find a line about the authentication of root make that line a remark.
thanks for your reply,
but i don't see any service running named "rsh" or "telnet".
how can i start those services?
my system shows that rsh/telnet client is installed.

please guide me through this.

i'll check /etc/pam.d/gdm and post the reply
thanks
 
Old 01-28-2010, 06:54 AM   #7
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
sorry but i don't know which line in /etc/pam.d/gdm is to make comment how.
 
Old 01-28-2010, 08:04 AM   #8
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
IS there anyone here who could tell me how to get rsh and telnet running on fedora core 12.
 
Old 01-28-2010, 08:09 AM   #9
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by rohit0825 View Post
sorry but i don't know which line in /etc/pam.d/gdm is to make comment how.
You like to login as root don't you ?
That is what I try to show you.
 
Old 01-28-2010, 08:41 AM   #10
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ronlau9 View Post
You like to login as root don't you ?
That is what I try to show you.
Please tell which line to make comment and how to make comment ?
 
Old 01-28-2010, 08:58 AM   #11
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
which distro are you using.
and without root or admin user you can not start and stop any service

please tell us is your root problem solved?
 
Old 01-28-2010, 09:03 AM   #12
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
with user root try this
or sudo
/etc/rc.d/init.d/xinetd start
 
Old 01-28-2010, 05:55 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
both fedora AND Gnome have DISABLED the root login using the gui.
login as a normal user first then use the " su - " command in the terminal to login as root

or
login into "single user mode" -- that is root by default .

for security reasons root login in gnome has been disabled
but root login into kde IS still available if you have kde 4 installed AND use kdm ( and NOT gdm) to start the gui.


also as stated above telnet is nolonger used because of VERY serous security reasons

the hack in " /etc/pam.d/gdm" to alow root login into gnome has some problems ( an is NOT recommended )
for example you will not be able to install any software using "ad or remove software" it will not work.
 
Old 01-28-2010, 11:07 PM   #14
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sohail0399 View Post
which distro are you using.
and without root or admin user you can not start and stop any service

please tell us is your root problem solved?
both rsh and telnet are up and running.

But root login prob;em is not solved yet.
please help


i have to copy some folders into / directory. but if login using other user there is no option for paste.
and i don't know how to do this in command line interface.

Reply asap
 
Old 01-29-2010, 12:06 AM   #15
rohit0825
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
problem solved,.....

http://www.ehow.com/how_5870077_enab...a-core-12.html

thanks everybody for ur support
 
  


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
[SOLVED] Cronjob: Could not authenticate PAM user ... Authentication failure (for root?!?) JZL240I-U Linux - Security 11 03-14-2019 01:05 PM
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
[SOLVED] Authentication failure for root logins (Fedora 12) JustOnePixel Linux - Newbie 8 01-21-2010 08:42 AM
su root: authentication failure (password correct) scs_24 Linux - Newbie 3 12-12-2009 01:07 AM
Fedora Core boot failure wadedesk Fedora 5 07-08-2006 02:19 PM

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

All times are GMT -5. The time now is 03:18 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