Results 1 to 8 of 8

Thread: I screwed it up, deleted default user :(

  1. #1
    Join Date
    Oct 2012
    Beans
    40

    I screwed it up, deleted default user :(

    Hey there,
    I have Xubuntu 12.10 installed on my machine.
    While installing i had created a user 'lalu' ,
    later on after few setting changes i screwd up something and now after login
    1) mouse cusrsor was not coming
    2) any app that i open was not visible in task bar

    to avoid these problm , i created a new user 'arif' , made him admin.

    once that's done. I logged in a arif and everything was fine with
    this new user.

    Since 'lalu' was default user ( and automatic login was enabled)
    by default when i boot my mahchie, i used to get logged in as 'lalu', which was a screwed up user.

    so i logged in as 'arif' and deleted 'lalu'


    After this my life is screwed even more.
    Now i can't install/uninstall any software or take updates.

    Please help

  2. #2
    Join Date
    Jun 2006
    Location
    Scotland
    Beans
    824

    Re: I screwed it up, deleted default user :(

    1) To reset Root look somewhere like here: http://askubuntu.com/questions/24006...ative-password

    2) To get apps in the panel, go RIGHT click panel>Panel>Add new items>(ADD) Windows Buttons

    3) When my cursor disappeared I *think* I had to restart the windows manager with something like:
    sudo xfwm4 --replace
    Last edited by arochester; October 31st, 2012 at 03:12 PM.

  3. #3
    Join Date
    Sep 2006
    Beans
    7,689
    Distro
    Lubuntu Development Release

    Re: I screwed it up, deleted default user :(

    You can boot in to rescue mode with the live CD and then add the new user to the groups adm, cdrom, sudo, dip, plugdev, lpadmin, and sambashare. The group sudo is the most important as far as admin tasks go.

  4. #4
    Join Date
    Oct 2012
    Beans
    40

    Re: I screwed it up, deleted default user :(

    Quote Originally Posted by arochester View Post
    1) To reset Root look somewhere like here: http://askubuntu.com/questions/24006...ative-password

    2) To get apps in the panel, go RIGHT click panel>Panel>Add new items>(ADD) Windows Buttons

    3) When my cursor disappeared I *think* I had to restart the windows manager with something like:


    Wow this worked for me quite smoothly.
    changed the root user's password.
    Thanks a ton.


    Even though i specified user type as admin ( not as desktop user) it still keeps asking me root password for everything ..
    how do i add this user 'arif' to various admin groups ?
    Last edited by arifalisyed; October 31st, 2012 at 03:29 PM.

  5. #5
    Join Date
    Oct 2012
    Beans
    58
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: I screwed it up, deleted default user :(

    This happened to me before. The information at this link is what helped me: http://www.psychocats.net/ubuntu/resetpassword

    EDIT: Ah, I see you fixed your issue. I was too late with my advice, lol.

  6. #6
    Join Date
    Oct 2012
    Beans
    40

    Re: I screwed it up, deleted default user :(

    Quote Originally Posted by pandacookie View Post
    This happened to me before. The information at this link is what helped me: http://www.psychocats.net/ubuntu/resetpassword

    EDIT: Ah, I see you fixed your issue. I was too late with my advice, lol.
    thats perfectly fine

    do you know how do i avoid annoying dialog that keeps asking root password for everything i do.

    even though my new user is an administrative user still it keeps asking password now and then

  7. #7
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: I screwed it up, deleted default user :(

    Quote Originally Posted by arifalisyed View Post
    thats perfectly fine

    do you know how do i avoid annoying dialog that keeps asking root password for everything i do.

    even though my new user is an administrative user still it keeps asking password now and then
    it's done on purpose, IF you're doing a lot of work which requires root then you can change to root with
    Code:
    sudo -i
    and enter your user password. Once done with all your root work, I would exit out of the root user though.
    You can read all about sudo here:
    https://help.ubuntu.com/community/RootSudo

  8. #8
    Join Date
    Oct 2012
    Beans
    40

    Re: I screwed it up, deleted default user :(

    Quote Originally Posted by dannyboy79 View Post
    it's done on purpose, IF you're doing a lot of work which requires root then you can change to root with
    Code:
    sudo -i
    and enter your user password. Once done with all your root work, I would exit out of the root user though.
    You can read all about sudo here:
    https://help.ubuntu.com/community/RootSudo
    Thanks for responding. I get an error arif is not in sudoers file

    by the way will this work only for terminal or
    normal UI usage of Xubuntu session as well ?

Tags for this Thread

Bookmarks

Posting Permissions

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