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) ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|