Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Root password Acer Aspire One

Options
  • 26-12-2008 10:42am
    #1
    Closed Accounts Posts: 23


    I just cant remember the password I used when I setup this netbook. Its the Linpus Lite version. How can I recover/ reset the password? Will the recovery disc be enough?


Comments

  • Registered Users Posts: 279 ✭✭velocirafter


    to change the root password, use Alt-F2 to run Terminal, then change to root user with ’sudo su’ and then change the password with passwd


  • Registered Users Posts: 279 ✭✭velocirafter


    if that doesnt work try typing sudo bash in the terminal and then type passwd


  • Closed Accounts Posts: 23 Ten Tenths


    Velocirafter. The sudo bash worked a treat. Thank you kindly.:)


  • Registered Users Posts: 279 ✭✭velocirafter


    great, i dunno why it works though, it really shouldn't


  • Closed Accounts Posts: 1,377 ✭✭✭An Fear Aniar


    great, i dunno why it works though, it really shouldn't

    Yeah, I'm surprised, I would have thought you would be asked for a password after typing "sudo su".
    user1@vaio-laptop:~$ sudo su
    [sudo] password for user1: 
    

    This is what happens if I try that stunt in Boontoo.


    .


  • Advertisement
  • Closed Accounts Posts: 23 Ten Tenths


    Althought I am delighted it worked, is this a security flaw? Surely anyone who might pick up the netbook could could so easily change the root password and take over the machine!!!:eek:


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson




  • Registered Users Posts: 377 ✭✭gagomes


    [php]
    #!/usr/bin/ksh
    #
    # Tested on HP-UX.
    # Takes a list of disks that are empty (Free PE == Total PE).
    #
    # PVs which failed on a pvdisplay are saved in the 'failed' file.
    #
    # The ouput is similar to:
    #
    # vgfc /dev/dsk/c6t5d0



    >failed

    for i in `strings /etc/lvmtab/|egrep ^\/dev\/dsk`;
    do
    pvdisplay $i 2>/dev/null > /dev/null
    if [ "$?" = 0 ]; then
    echo $i = `pvdisplay $i|egrep 'VG Name|Total PE|Free PE'` | awk '{ if ($8 == $11) { print $5, " ", $1 } }'
    else
    echo $i >> failed
    fi
    done

    [/php]


Advertisement