Broke my AA1 with sudo usermod -l YOURNAME user

Discussion in 'Linux' started by amw08, Nov 8, 2008.

  1. amw08

    amw08

    Joined:
    Nov 8, 2008
    Messages:
    1
    Likes Received:
    0
    Hi

    Can anyone help? I was attempting to change the default user from 'user' to something more friendly like my name. I tried the following:
    sudo usermod -l YOURNAME user

    After a reboot it just gets stuck with a blank screen and the mouse cursor is a "X" symbol. Is there anyway to recover from this?

    Thanks
     
    amw08, Nov 8, 2008
    #1
  2. amw08

    QplQyer

    Joined:
    Nov 15, 2008
    Messages:
    5
    Likes Received:
    0
    I have the same issue, I just plan on rebooting with a usbstick, chroot'ing to the disk and resetting the useraccount.

    How to fix it:

    Follow the steps in my guide: viewtopic.php?f=39&t=7024&p=45961&hilit=usermod#p45961
    Instead of reverting the usermod, you could try altering /etc/inittab. The line reading

    Code:
    1:2345:respawn:/sbin/mingetty --autologin user tty1
    Should then contain your username instead of user. However, I have seen some other rc scripts that contain the hard-coded username (even though it was only used to refer to the homedirectory which isn't altered with usermod I believe), so it might still break things.
     
    QplQyer, Nov 17, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.