Yacine
Posts: 26
Joined: Thu Dec 20, 2012 4:48 pm
Location: Paris
Contact: Website

login directly as root

Sun Jan 06, 2013 1:02 am

Hi all,

I was able to login as root. But since today not anymore.
I already changed my root password. I'm using Putty to login.

So why i can't login anymore directly as a root ?
http://www.shadowblog.fr/ <= Blog pour ceux qui débutent avec le Raspberry Pi

User avatar
malakai
Posts: 1383
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: login directly as root

Sun Jan 06, 2013 1:19 am

what error do you get?
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

Yacine
Posts: 26
Joined: Thu Dec 20, 2012 4:48 pm
Location: Paris
Contact: Website

Re: login directly as root

Sun Jan 06, 2013 4:05 am

Incorrect password. But i'm sure i'm putting the right password. Althought il changed it several time from pi user with the command : sudo passwd root.
But when i'm trying to log as root user it says incorrect password.
http://www.shadowblog.fr/ <= Blog pour ceux qui débutent avec le Raspberry Pi

User avatar
malakai
Posts: 1383
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: login directly as root

Sun Jan 06, 2013 4:40 am

Change password type

su

This should prompt for the root password does that work if so its a setting with your ssh client

try ssh root@xxx.xxx.xxx.xxx where x is your ip this will prompt for root password not sure how your connecting over ssh
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

User avatar
rew
Posts: 408
Joined: Fri Aug 26, 2011 3:25 pm

Re: login directly as root

Sun Jan 06, 2013 3:38 pm

some systems have configured that you cannot login on non-secure terminals as "root". Usually networked-terminals are considered not secure, and so root login on them is denied. To prevent hackers from learning that they have the correct password, the error message shown is the same as for a bad password.

Check /var/log/auth.log for more info about why a login was denied.

Check for "permitrootlogin" in /etc/ssh/sshd_config (or whatever it's called).
Check out our raspberry pi addons: http://www.bitwizard.nl/shop/

Return to “Beginners”

Who is online

Users browsing this forum: JackMauro, lerner and 26 guests