Unix Technical Forum

can't login as root

This is a discussion on can't login as root within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello. I have just installed Mandrake 9.2 RC2 and if I press CTRL+ALT+Fn (n is from 1 to 6) ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:04 AM
knocte
 
Posts: n/a
Default can't login as root

Hello. I have just installed Mandrake 9.2 RC2 and if I press CTRL+ALT+Fn
(n is from 1 to 6) to login, I can't do it as root.

However, 'su' command works for my normal account, and graphical login
in KDE for root also works. Any idea?

Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:04 AM
Frank Terbeck
 
Posts: n/a
Default Re: can't login as root

knocte <knocte@NO-SPAM-PLEASE-hotmail.com> wrote:
> Hello. I have just installed Mandrake 9.2 RC2 and if I press CTRL+ALT+Fn
> (n is from 1 to 6) to login, I can't do it as root.
>
> However, 'su' command works for my normal account, and graphical login
> in KDE for root also works. Any idea?


hello,
your post lacks a lot of information.
what error message did you get?
take a look at
/var/log/messages
or
/var/log/auth

just saying it doesn't work is not enough.

regards, Frank

--
There are no threads in alt.binaries.pictures.erotica,
so there's no gain in using a threaded news reader.
-- unknown source

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 08:04 AM
knocte
 
Posts: n/a
Default Re: can't login as root

Frank Terbeck wrote:
> knocte <knocte@NO-SPAM-PLEASE-hotmail.com> wrote:
>
>> Hello. I have just installed Mandrake 9.2 RC2 and if I press CTRL+ALT+Fn
>> (n is from 1 to 6) to login, I can't do it as root.
>>
>> However, 'su' command works for my normal account, and graphical login
>> in KDE for root also works. Any idea?

>
>
> hello,
> your post lacks a lot of information.
> what error message did you get?
> take a look at
> /var/log/messages
> or
> /var/log/auth
>
> just saying it doesn't work is not enough.
>
> regards, Frank
>


Sorry, you're right. The system replies "login incorrect", but the
password I type is absolutely correct (in fact, in graphical login at
CTRL+ALT+F7, it works).

I hope you understand me now. (The directories "/var/log/messages" and
"/var/log/auth" don't exist.)

Thanks.

knocte

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 08:04 AM
Frank Terbeck
 
Posts: n/a
Default Re: can't login as root

knocte <knocte@NO-SPAM-PLEASE-hotmail.com> wrote:
> Sorry, you're right. The system replies "login incorrect", but the
> password I type is absolutely correct (in fact, in graphical login at
> CTRL+ALT+F7, it works).
>
> I hope you understand me now. (The directories "/var/log/messages" and
> "/var/log/auth" don't exist.)


/var/log/(auth.log|messages) should be regular files.

take a look at /etc/syslog.conf
look out for a line that start with auth, like:

[snip]
auth,authpriv.* /var/log/auth.log
[snap]

this defines that your system is logging all authentication information
to /var/log/auth.log. this setting might be different on your system.
take a look into that file. the information in there normally is
timestamped so that you can see when an error happened.

sorry, your "login incorrect" doesn't say anyting of what went wrong.

regards, Frank

--
There are no threads in alt.binaries.pictures.erotica,
so there's no gain in using a threaded news reader.
-- unknown source

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 08:04 AM
Andreas Janssen
 
Posts: n/a
Default Re: can't login as root

Hello

knocte (<knocte@NO-SPAM-PLEASE-hotmail.com>) wrote:

> Hello. I have just installed Mandrake 9.2 RC2 and if I press
> CTRL+ALT+Fn (n is from 1 to 6) to login, I can't do it as root.
>
> However, 'su' command works for my normal account, and graphical login
> in KDE for root also works. Any idea?


Check your /etc/securetty.

best regards
Andreas Janssen

--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 08:04 AM
knocte
 
Posts: n/a
Default Re: can't login as root

Frank Terbeck wrote:
> knocte <knocte@NO-SPAM-PLEASE-hotmail.com> wrote:
>
>> Sorry, you're right. The system replies "login incorrect", but the
>> password I type is absolutely correct (in fact, in graphical login at
>> CTRL+ALT+F7, it works).
>>
>> I hope you understand me now. (The directories "/var/log/messages" and
>> "/var/log/auth" don't exist.)

>
>
> /var/log/(auth.log|messages) should be regular files.
>
> take a look at /etc/syslog.conf
> look out for a line that start with auth, like:
>
> [snip]
> auth,authpriv.* /var/log/auth.log
> [snap]
>
> this defines that your system is logging all authentication information
> to /var/log/auth.log. this setting might be different on your system.
> take a look into that file. the information in there normally is
> timestamped so that you can see when an error happened.
>
> sorry, your "login incorrect" doesn't say anyting of what went wrong.
>
> regards, Frank
>


Ok, I was wrong. I thought you were talking about directories. Files
/var/log/messages and /var/log/auth.log do exist. In the first I can't
find anything about the incorrect login. In the second I can find all my
logins trying to access as root. Here they are:

ep 23 13:56:36 maestro login: FAILED LOGIN 1 FROM (null) FOR root,
Authentication failure
Sep 23 13:56:42 maestro login: FAILED LOGIN 2 FROM (null) FOR root,
Authentication failure
Sep 23 13:56:55 maestro login: FAILED LOGIN 3 FROM (null) FOR root,
Authentication failure

That's what I get. It's quite strange, isn't it?

Regards,

knocte

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 08:04 AM
knocte
 
Posts: n/a
Default Re: can't login as root

Andreas Janssen wrote:
> Hello
>
> knocte (<knocte@NO-SPAM-PLEASE-hotmail.com>) wrote:
>
>
>>Hello. I have just installed Mandrake 9.2 RC2 and if I press
>>CTRL+ALT+Fn (n is from 1 to 6) to login, I can't do it as root.
>>
>>However, 'su' command works for my normal account, and graphical login
>>in KDE for root also works. Any idea?

>
>
> Check your /etc/securetty.
>
> best regards
> Andreas Janssen
>


This file exists but it is empty (0 bytes). What does it mean?

Thanks,

knocte

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 08:04 AM
Alex Yung
 
Posts: n/a
Default Re: can't login as root

During your installation, you were prompted for security setting of
your machine. If you select anything but "Normal", you will not be
able to login as root from console. You need to change your security
setting back to "Normal". You can confirm my statement by doing
"ls /etc". You don't have permission to do directory listing there as
a regular user. This setting is probably good for you anyway.

knocte (knocte@NO-SPAM-PLEASE-hotmail.com) wrote:
: Hello. I have just installed Mandrake 9.2 RC2 and if I press CTRL+ALT+Fn
: (n is from 1 to 6) to login, I can't do it as root.

: However, 'su' command works for my normal account, and graphical login
: in KDE for root also works. Any idea?

: Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-17-2008, 08:04 AM
Frank Terbeck
 
Posts: n/a
Default Re: can't login as root

knocte <knocte@NO-SPAM-PLEASE-hotmail.com> wrote:
> This file exists but it is empty (0 bytes). What does it mean?


hi,
insert

[snip]
tty1
tty2
tty3
tty4
tty5
tty6
[snap]

there, and retry

regards, Frank


--
There are no threads in alt.binaries.pictures.erotica,
so there's no gain in using a threaded news reader.
-- unknown source

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-17-2008, 08:04 AM
knocte
 
Posts: n/a
Default Re: can't login as root

> hi,
> insert
>
> [snip]
> tty1
> tty2
> tty3
> tty4
> tty5
> tty6
> [snap]
>
> there, and retry
>
> regards, Frank
>


Still doesn't work

Regards,
knocte


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com