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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-28-2010, 12:48 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Rep:
|
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
|
|
|
01-28-2010, 02:01 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
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.
|
|
|
01-28-2010, 02:38 AM
|
#3
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
Hi rohit0825,
If you are not able to login as root, login as normal user then type following command to gain super user access.
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 !!!
|
|
|
01-28-2010, 04:07 AM
|
#4
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by chrism01
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
|
|
|
01-28-2010, 05:49 AM
|
#5
|
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: 
|
Quote:
Originally Posted by rohit0825
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.
|
|
|
01-28-2010, 06:29 AM
|
#6
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by ronlau9
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
|
|
|
01-28-2010, 06:54 AM
|
#7
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
sorry but i don't know which line in /etc/pam.d/gdm is to make comment how.
|
|
|
01-28-2010, 08:04 AM
|
#8
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
IS there anyone here who could tell me how to get rsh and telnet running on fedora core 12.
|
|
|
01-28-2010, 08:09 AM
|
#9
|
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: 
|
Quote:
Originally Posted by rohit0825
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.
|
|
|
01-28-2010, 08:41 AM
|
#10
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by ronlau9
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 ?
|
|
|
01-28-2010, 08:58 AM
|
#11
|
Member
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154
Rep:
|
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?
|
|
|
01-28-2010, 09:03 AM
|
#12
|
Member
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154
Rep:
|
with user root try this
or sudo
/etc/rc.d/init.d/xinetd start
|
|
|
01-28-2010, 05:55 PM
|
#13
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685
|
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.
|
|
|
01-28-2010, 11:07 PM
|
#14
|
LQ Newbie
Registered: Jan 2010
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by sohail0399
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
|
|
|
All times are GMT -5. The time now is 03:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|