LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-03-2008, 10:05 AM   #1
vvcat
LQ Newbie
 
Registered: Mar 2008
Posts: 18

Rep: Reputation: 0
Angry system said the our root password failure when I use ssh to connect Fedora8


I just setup the Fedora8 and enable ssh, I have root password and I create a user user1, when I use user1 to login Fedora8 thru ssh, it work fine, but when I use user1 login successful from ssh,I try to su - and then input the root password, it failure, I sure my root password is correct.

When I direct use root login thru ssh, it work fine, but I don't want to use root directly to login Fedora 8 using ssh.
 
Old 03-03-2008, 12:21 PM   #2
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by vvcat View Post
I just setup the Fedora8 and enable ssh, I have root password and I create a user user1, when I use user1 to login Fedora8 thru ssh, it work fine, but when I use user1 login successful from ssh,I try to su - and then input the root password, it failure, I sure my root password is correct.

When I direct use root login thru ssh, it work fine, but I don't want to use root directly to login Fedora 8 using ssh.
Not really sure what the issue is but I'll try to answer. You're doing the right thing not accepting root connections through ssh. Password crackers take very little time busting directly to root.

As far as forgetting your root password, go to single user mode and just change it to something new. Here's how to do so:

Reboot your system or type init 1 in a prompt. When you see the Grub boot menu, select the line that starts with 'kernel' for the kernel you are looking to boot, type 'e' to edit the boot parameters. Go to the end of the line and type single as a seperate word (press the [Spacebar] and then type single). Press Enter to exit edit mode. Back at the Grub screen, type 'b' to boot into single user mode.

Hope this helps.

Last edited by mtimbro; 03-03-2008 at 12:23 PM.
 
  


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
su root: authentication failure (password correct) scs_24 Linux - Newbie 3 12-12-2009 01:07 AM
root password doesn't work for ssh linuxuser00 Linux - Newbie 5 01-31-2007 11:05 AM
ssh failure when trying to connect jlarsen Linux - Networking 1 10-14-2006 03:06 PM
ssh password failure (sometimes) zergio Linux - Security 9 12-10-2003 08:21 PM
Get password of root from SSH? Gerardoj Linux - General 4 08-09-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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