Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
When I am trying to log into my computer I input my user name and press enter. After that it tells me five times that the login has failed and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    6

    Login Problems


    When I am trying to log into my computer I input my user name and press enter. After that it tells me five times that the login has failed and asks me to try again.

    I have managed to get into the computer as root but I don't know what to do. All my google searches have come to nothing.

    I am now trying to use the login command to login but it is also not working. What I get looks like this:


    root(at)cameron-x201:~# login cameron

    Login incorrect

    Login incorrect

    Login incorrect

    Login incorrect

    Login incorrect
    Maximum number of tries exceeded (5)
    root(at)cameron-x201:~#


    When I try with "login root" the same thing happens. The weirdest part is that just plain login does the exact same thing.

    I am not sure how to fix this. Also faillog returns nothing.

    I am using Debian 6 64 bit.

    I hope someone will be able to help.

    Thanks,
    Cameron

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,110
    Is this a new install that you have not been able to log in to? Or is this something that happened recently and you previously were able to login? It looks to be like you are logging in to runlevel 3 without a gui. Is that what you are trying to do, get to a gui? When you get: "root@cameron-x201:~#" you are logged in as root. To switch to user cameron you could: su cameron, hit the Enter key and then enter your password for user cameron when prompted. Then to get a gui type: startx.

    If your problem is something else, provide more details.

  3. #3
    Just Joined!
    Join Date
    Aug 2012
    Posts
    6
    to log into the computer I need to be in recovery mode although I cannot let it boot fully. I believe that I am not in run level 3. I enter my root password as the computer is booting to log in. The OS is not a new install. I have logged in many times successfully. If I let the computer prompt me for a user name then it will fail. I have not tried to su to Cameron. I understand starting X in the past I have used this when starting the computer every day.

    I hope this is all the info you need.

    Cameron

  4. #4
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    Cameron,
    start the computer in recovery mode, Check the inittab file to see what run level you are booting too. cat the file. cat /etc/inittab |less
    the id:5:initdefault: is the gui run level.
    --------------------------
    Linux is the FORCE

  5. #5
    Just Joined!
    Join Date
    Aug 2012
    Posts
    6
    I looked at the inittab file. I am currently in run level 2.

    id:2:initdefault

    I also tried to su to another user but it did not work. I got a message like module unknown.

    Cameron

  6. #6
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    if you want to run the gui on boot you will need to change the id:2:initdefault to id:5:intdefault.
    as root edit the file /etc/inittab and reboot. let the machine boot to the default kernel.

    try this first, if it helps you out then move on to the other issues.
    --------------------------
    Linux is the FORCE

  7. #7
    Just Joined!
    Join Date
    Aug 2012
    Posts
    6
    I changed id:2:initdefault to id:5:intdefault. I then rebooted (not into recovery mode and tried to log in. When I tried to log in the same thing happened.

    Cameron

  8. #8
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    drop into a console and change to root and change your password. passwd username
    --------------------------
    Linux is the FORCE

  9. #9
    Just Joined!
    Join Date
    Aug 2012
    Posts
    6
    I tried to change the password.

    passwd cameron

    cameron is my username.

    what I got back was:

    passwd: unknown module
    passwd: password unchanged

    I hope this tells you something useful.

    Cameron

  10. #10
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    is the /etc/passwd file and the backup file passwd- still on the system. if so, do apt-get --reinstall install base-passwd
    --------------------------
    Linux is the FORCE

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •