Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-03-2009, 09:18 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
root password isn working

hi (sry for my bad english)

iam trying to start a server on my debian 5.0 linux computer...

and want to give a friend ssh access... every time he is trying to login as root it says that the password is wrong. but iam giving him the root password i have entered while installing debian...

how can i fix the problem i allready installed it 5 times and every time its the same problem...

also tried to change it via passwd an every time iam typing su it switches to computername: ediik-linux-computer:/ and nnot to root

also tryed to switch it via account management in gnome... if iam typing a new password for root i can switch in terminal via su an then there stands root@ediik-linux-computer:/ but i cant login on ssh or sftp...

iam using winscp... my friend 2 iopened port 22 and it is all working but only if i login with my normal account... not with root...

im pulling with this for 3 days can anyone help me pls?
Old 08-03-2009, 09:24 AM   #2
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
uncomment this line in you sshd configuration file.
#PermitRootLogin yes
Old 08-03-2009, 09:38 AM   #3
LQ Newbie
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Originally Posted by PMP View Post
uncomment this line in you sshd configuration file.
#PermitRootLogin yes
and the problem wth the root password is it normal? thati cant login as root if im local on my pc...
Old 08-03-2009, 10:15 AM   #4
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
Don't allow root access using SSH. Better to login as normal user and su to root.

You usually can not login into the graphical environment as root, but a console should be possible; exception is (at least) Ubuntu that has the root account disabled by default.
Old 08-03-2009, 10:22 AM   #5
Registered: Oct 2005
Location: Dallas, TX
Distribution: Slackware 12
Posts: 49

Rep: Reputation: 15
I believe that in Debian, the root account is not disabled by default, but SSH access to root is. It's a pretty standard lockdown procedure that a lot of sysadmins (or at least most of the ones I know) do to help curb brute force attacks.

You can either do as PMP said and permit root logins (which I wouldn't recommend) or you can create a user account for your friend and allow him to su/sudo up to root once logged in.


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
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 02:01 PM
Root password not working neilthereildeil Linux - General 11 06-01-2006 01:33 PM
Root password not working... neilthereildeil Linux - General 5 05-27-2006 02:55 PM
root password not working for su brenainn Linux - Security 1 10-08-2005 05:40 AM
Sound under Gnome isn;t working (/dev/dsp err) weblion Linux - General 2 08-13-2001 12:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration