LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-28-2010, 04:32 PM   #1
rockslinux
Member
 
Registered: Jan 2010
Location: Orenburg
Distribution: Slackware
Posts: 35

Rep: Reputation: 18
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!
 
Old 05-28-2010, 04:49 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 05-29-2010, 04:07 AM   #3
rockslinux
Member
 
Registered: Jan 2010
Location: Orenburg
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 18
Thanks for your help! But the result of these actions are not given. The situation is the same.
 
Old 05-29-2010, 05:58 PM   #4
rockslinux
Member
 
Registered: Jan 2010
Location: Orenburg
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 18
The issue was not with me personally, so details can not say. Helped command faillog -r -u root
 
  


Reply

Tags
root login, virtual terminal


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
"su - root" giving incorrect password but normal root login works. ?? arashi256 Linux - Newbie 10 06-03-2010 04:13 AM
Login Incorrect for everyone including Root at console morette Linux - General 2 07-30-2004 05:37 PM
linux login: incorrect login poweroff Linux - General 4 03-02-2004 04:03 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 11:54 AM
Please help: console root login incorrect! aponcel Linux - Networking 7 07-19-2001 03:42 AM


All times are GMT -5. The time now is 07:31 PM.

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