Author Topic: Acer notebook password  (Read 4184 times)

0 Members and 1 Guest are viewing this topic.

Offline hysterical

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Acer notebook password
« on: May 04, 2010, 10:25:45 pm »
Thank you very much Mark for your help which I think worked, after following your instructions had message ' authentication tokens updated successfully', but then I tried to go into settings to change password {to check if it had worked} and put in the password  that I had just created, an error message 'password you typed is invalid' was shown. Im really confused, is the root password and the password in settings two different things? If so, how do I find what my current password is in settings as I can't remember ever putting one in. Thanks again if you can help with this one.

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1420
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: Acer notebook password
« Reply #1 on: May 05, 2010, 01:35:29 am »
I think Mark's instructions might be specific to your system, but if they don't seem to work you could try a more generic approach. Try this from your terminal session;
Code: [Select]
sudo passwd root
Then enter your new password (twice).

Does this make any difference or does it leave you with the same problem?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18133
  • Karma: 472
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Acer notebook password
« Reply #2 on: May 05, 2010, 02:35:39 am »
As Mad Penguin suggests the instructions were specific to an Acer Aspire One (ZG5), but after a bit more research I've found another method for the AA1 which seems to work for about half of the people asking this question so maybe there are 2 versions of Linpus going around.

Try this if Mad Penguins suggestion doesn't work -

First open a terminal... notice that just before the flashing prompt you should see a $ symbol (this signifies you are a regular user)

Try using the sudo su command to enter root user, so, in the terminal, enter:
Code: [Select]
sudo su
then press enter... The symbol before the flashing prompt should now have changed to an # (this signifies you are now the root user)
If it changed type:
Code: [Select]
passwd root
then press enter again, this should prompt you for a new password for root user.

REMEMBER... You won't see anything as you type, but it IS being entered... and it will probably ask you to enter the new password twice.

Also I would either keep using the SAME password, or keep a note of any passwords you enter, in case you end up with a different password for the user and root accounts.
« Last Edit: May 05, 2010, 03:19:57 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1420
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: Acer notebook password
« Reply #3 on: May 05, 2010, 03:16:33 am »
This works only if there is no root password set - which is a default on 'some' systems.
(albeit only systems with zero appreciation for the word 'security' ..  ;)  )

You can reset a root password in this way with;
Code: [Select]
passwd -d root
However as I say .. not recommended .. :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18133
  • Karma: 472
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Acer notebook password
« Reply #4 on: May 05, 2010, 04:19:51 am »
If non of the above work, can you answer a question for me... Can you get root access in a terminal at all... remembering what I said in my last posting about the $ changing to an # which will tell you whether or not you have root access.

In a terminal do any of these commands make the symbol preceding the flashing prompt change from an $ to an #
Code: [Select]
sudo su
su
sudo -su
remember to hit enter after each line... and check if the symbol changed.

or does this command open the mousepad text editor
Code: [Select]
sudo mousepad
enter... MUST be sudo mousepad, not just mousepad.

or if mousepad isn't installed, try:
Code: [Select]
sudo vi
enter... did anything happen? ... again MUST be sudo vi, not just vi
« Last Edit: May 05, 2010, 04:42:27 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline hysterical

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Acer notebook password
« Reply #5 on: May 06, 2010, 09:52:23 am »
thanks again for your help, did as Mad Penguin suggested and got message 'removing passwrd for user root successful' but I still cannot use settings to change password.When  I am in Terminal, I  am successful in changing the prompt to # from $ when using sudo su command.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18133
  • Karma: 472
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Acer notebook password
« Reply #6 on: May 06, 2010, 11:28:12 am »
OK, when you first started your Acer Aspire One it would have asked you to enter a username and password... this would have set up a user account and from what I gather also applied the same password to the root account... from then on, any NEW users added to the system will have had a different password to the root account, but as long as you can become the root user (which you can) there will be nothing you cannot do.

Can you let us know exactly what you are trying to achieve and what the system is asking for and/or any error messages. :)

Who's password are you trying to change (from settings)?... does the system prompt you for a password when you try?... can you do other things (that require root access) like start the package manager?

If all you want to do is change a user password, this will be easy to do from the command line but are there any other problems?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1420
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: Acer notebook password
« Reply #7 on: May 06, 2010, 12:15:32 pm »
Ok, if you're doing su and geting #, your system is working fine .. any other problems you're having are purely code 18;)

Can you try this;
Code: [Select]
cat /etc/passwd|grep home|cut -d":" -f1
This should give a reasonable indication of which users you have set up on your system ...

Offline hysterical

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Acer notebook password
« Reply #8 on: May 06, 2010, 11:46:48 pm »
Hi again, all I want to do is change my user password, I am the only user so there are no other passwords been set, problem is when I go into settings to change my password it asks for current password, this is what I cannot remember, there are no other problems. When I have followed your instructions to go in via terminal and removed password for user root the message says 'removing password for user root successful' and I am able to create new root password but I do not know how this can help me change my current password in the settings section, sorry if Im not explaining very well but not very computer literate hence hysterical!!!Thanks again

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18133
  • Karma: 472
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Acer notebook password
« Reply #9 on: May 06, 2010, 11:53:10 pm »
To change your user password... first become root
Code: [Select]
sudo su
hit enter... make sure $ changes to #

then enter
Code: [Select]
passwd username
replace 'username' (in the above command) with whatever your username is... hit enter... you will be prompted for the new password twice.

EXAMPLE - to change user mark password
passwd mark
« Last Edit: May 07, 2010, 04:19:37 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal