Author Topic: Removing/changing password  (Read 3358 times)

0 Members and 1 Guest are viewing this topic.

Jocklad 1

  • Guest
Re: Removing/changing password
« Reply #15 on: November 06, 2014, 01:57:55 am »
 Tried to change password on Peppermint 5 with the"sudo passwd" command in terminal.

  Terminal says password updated but can only log in with old password.

  Jocklad.

 
« Last Edit: November 06, 2014, 02:33:22 am by Jocklad 1 »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16979
  • Karma: 429
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Removing/changing password
« Reply #16 on: November 06, 2014, 04:57:37 am »
try

sudo passwd <username>

eg:
Code: [Select]
sudo passwd mark

and change to the same as the NEW password you entered before.

]hr]

Or change it through

menu > System Tools > Users and Groups

On the left highlight the user you want to change the password for, on the right click writing "Change..." next to "Password: Asked at login"
« Last Edit: November 06, 2014, 05:01:24 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

Jocklad 1

  • Guest
Re: Removing/changing password
« Reply #17 on: November 06, 2014, 09:47:35 am »

 "sudo passwd <username>" worked fine Mark.

  Password changed  :) :) :)

  Jocklad

Offline donwatson

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 8
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: Removing/changing password
« Reply #18 on: March 15, 2017, 01:16:35 pm »
Mark,
I used this command to change the password on my Linux machine.

to change password, open a terminal and run:
Code: [Select]
sudo passwd
you will be prompted for your current password .. then for the new password twice.
[/quote]

When I start the machine I put the new password in 4 times with no success, I then used my old password to log in ??.
Where have I gone wrong ?
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 7    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline donwatson

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 8
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: Removing/changing password
« Reply #19 on: March 15, 2017, 01:17:26 pm »
No there is no way to remove the password requirement (for administrative tasks) .. if you want an insecure OS where system wide settings can be changed by anyone or any application, Windows is your best bet.

Are you still telling me that you're an "ethical" hacker .. yet security is of no concern ?

to change password, open a terminal and run:
Code: [Select]
sudo passwd
you will be prompted for your current password .. then for the new password twice.
Mark can you delete this message
« Last Edit: March 15, 2017, 01:26:42 pm by donwatson »
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 7    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

Offline donwatson

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 8
  • Gender: Male
  • Getting older
    • View Profile
    • Awards
Re: Removing/changing password
« Reply #20 on: March 15, 2017, 01:38:31 pm »
Sorry about this Mark, I have used sudo passwd <username> and it works fine.
I caught up with the post jocklad made  :-[ :-[
Novatech build
Intel Celeron CPU 1.80 Ghz   Memory 4.00GB (3.71GB usable)
Peppermint 7    64 bit     500 GB HD        496 GB Ext 4
4.0GB Swap Partition    4.0GB Extended Partition   1.1Mb Free Space

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal