LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   root: login incorrect (https://www.linuxquestions.org/questions/slackware-14/root-login-incorrect-810795/)

rockslinux 05-28-2010 03:32 PM

root: login incorrect
 
Good time!
Excuse my bad English.
Arose the following errors. Upgrade to version 13.1, now I can not register in the virtual console as “root”.
But if I sign in to the virtual console as normal user -> run a terminal emulator, then use «su», I did it change the user to «root».
I tried to change the password, the result is the same.

part of the log:
Code:

May 27 12:26:54 antidote login[1777]: exceeded failure limit for 'root' on '/dev/tty6'
May 27 12:27:01 antidote login[1777]: exceeded failure limit for 'root' on '/dev/tty6'

/etc/securetty:
Code:

# This file defines which devices root can log in on.

# These are the ttys on the physical console:
console
tty1
tty2
tty3
tty4
tty5
tty6
#...

/etc/login.defs:
-Comments with descriptions of parameters removed-
Code:

#
# /etc/login.defs - Configuration control definitions for the shadow package.
#
#      $Id: login.defs 3038 2009-07-23 20:41:35Z nekral-guest $
#

FAIL_DELAY              3
FAILLOG_ENAB            yes
LOG_UNKFAIL_ENAB        no
LOG_OK_LOGINS          no
LASTLOG_ENAB            yes
MAIL_CHECK_ENAB        yes
OBSCURE_CHECKS_ENAB    yes
PORTTIME_CHECKS_ENAB    yes
QUOTAS_ENAB            yes
SYSLOG_SU_ENAB          yes
SYSLOG_SG_ENAB          yes
CONSOLE        /etc/securetty
#SULOG_FILE    /var/log/sulog
MOTD_FILE      /etc/motd
#ISSUE_FILE    /etc/issue
#TTYTYPE_FILE  /etc/ttytype
FTMP_FILE      /var/log/btmp
NOLOGINS_FILE  /etc/nologin
SU_NAME        su
MAIL_DIR        /var/spool/mail
HUSHLOGIN_FILE  .hushlogin
ENV_HZ          HZ=100
ENV_SUPATH    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
ENV_PATH      PATH=/usr/local/bin:/bin:/usr/bin
TTYGROUP        tty
TTYPERM        0620
ERASECHAR      0177
KILLCHAR        025
#ULIMIT        2097152
UMASK          022
PASS_MAX_DAYS  99999
PASS_MIN_DAYS  0
PASS_MIN_LEN    5
PASS_WARN_AGE  7
SU_WHEEL_ONLY  no
#CRACKLIB_DICTPATH      /var/cache/cracklib/cracklib_dict
UID_MIN                  1000
UID_MAX                60000
# System accounts
SYS_UID_MIN              101
SYS_UID_MAX              999
GID_MIN                  1000
GID_MAX                60000
# System accounts
SYS_GID_MIN              101
SYS_GID_MAX              999
LOGIN_RETRIES          5
LOGIN_TIMEOUT          60
PASS_CHANGE_TRIES      5
PASS_ALWAYS_WARN        yes
#PASS_MAX_LEN          8
CHFN_AUTH              yes
CHFN_RESTRICT          frwh
#LOGIN_STRING          "%s's Password: "
#MD5_CRYPT_ENAB no
ENCRYPT_METHOD MD5
# SHA_CRYPT_MIN_ROUNDS 5000
# SHA_CRYPT_MAX_ROUNDS 5000
CONSOLE_GROUPS        floppy:audio:cdrom:video:scanner
DEFAULT_HOME    yes
ENVIRON_FILE    /etc/environment
#USERDEL_CMD    /usr/sbin/userdel_local
USERGROUPS_ENAB yes
#MAX_MEMBERS_PER_GROUP  0
#CREATE_HOME    yes

Thanks in advance for your help!

paulsm4 05-28-2010 03:49 PM

Try this:

Quote:

1. Delete (or rename) /etc/securetty
2. Reboot
3. Verify that "root" logon to main console works
4. Verify that virtual console(s) exist, and you can log in as normal user
5. Verify that you can now log in to virutal console(s) as "root"
'Hope that helps .. PSM

rockslinux 05-29-2010 03:07 AM

Thanks for your help! But the result of these actions are not given. The situation is the same.

rockslinux 05-29-2010 04:58 PM

The issue was not with me personally, so details can not say. Helped command faillog -r -u root


All times are GMT -5. The time now is 02:07 AM.