Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Root password Acer Aspire One

  • 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 378 ✭✭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