password refusal

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
longshanks68
Level 1
Level 1
Posts: 29
Joined: Mon Oct 08, 2018 3:05 am

password refusal

Post by longshanks68 »

I am trying to install a piece of software into my mint 19.2 setup but within terminal and for the first time it does not recognise my password, I have not changed anything and as a test I also tried to do the same thing on my other laptop which also runs mint 19.2 but as expected just the same problem.
My Q is why has this happened and is there an easy fix.
many thanks
User avatar
Termy
Level 6
Level 6
Posts: 1420
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: password refusal

Post by Termy »

Is it actually telling you that the password was incorrect? Sometimes people get confused when they don't see characters show on the terminal as they're typing the password, but this is normal (prior to modern Mint).

Definitely not using Num or Caps Lock by mistake? Are you using sudo(8)? IE: sudo some --command -h -e -re What command are you running?
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
longshanks68
Level 1
Level 1
Posts: 29
Joined: Mon Oct 08, 2018 3:05 am

Re: password refusal

Post by longshanks68 »

I was trying to install Brave browser following the install instructions within terminal when I enter my password it reports "command not found" this has never happened before.it is the same p/w I use to access software manager which works ok.
buteman
Level 4
Level 4
Posts: 247
Joined: Tue Nov 29, 2011 5:36 pm
Location: North Lincolnshire

Re: password refusal

Post by buteman »

What do you type in for it to say command not found?
It doesn't sound like a password problem but some sort of syntax error.
Please try it again then copy what you typed and all the error message into a reply here.
User avatar
Termy
Level 6
Level 6
Posts: 1420
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: password refusal

Post by Termy »

I second buteman. Sounds like you just mistyped something.
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
SimpleLinuxUser
Level 1
Level 1
Posts: 16
Joined: Tue Feb 23, 2021 9:32 pm

Re: password refusal

Post by SimpleLinuxUser »

If it's not a typing mistake you may have been hacked.
longshanks68
Level 1
Level 1
Posts: 29
Joined: Mon Oct 08, 2018 3:05 am

Re: password refusal

Post by longshanks68 »

Hi,all thanks for your replies, the command typed in is my p/w it then reports "command not found" and believe me I have not miss typed anything, Hacked how can I tell?
User avatar
Termy
Level 6
Level 6
Posts: 1420
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: password refusal

Post by Termy »

If you show us exactly what you typed (obviously without the password) then we can determine what went wrong, otherwise we run the risk of chasing our tales. If you're just opening up the terminal and randomly typing in your password, then certainly that won't work, because your password is not a command. Also show us the exact and full error message. Usually command not found errors include what wasn't found.
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
buteman
Level 4
Level 4
Posts: 247
Joined: Tue Nov 29, 2011 5:36 pm
Location: North Lincolnshire

Re: password refusal

Post by buteman »

longshanks68 wrote:
Wed Feb 24, 2021 4:47 pm
Hi,all thanks for your replies, the command typed in is my p/w it then reports "command not found" and believe me I have not miss typed anything, Hacked how can I tell?
Did you think you have to type in your password just because you started up a terminal?
You only type in your password when asked such as when you run some command using sudo. Supposing you did

Code: Select all

cat /etc/shadow
you would get

Code: Select all

cat /etc/shadow
cat: /etc/shadow: Permission denied
if you typed

Code: Select all

sudo cat /etc/shadow
[sudo] password for norman: 
Then when you typed in your password you would see what was in the file.
SO typing in your password is a response to being asked for it.
User avatar
AndyMH
Level 15
Level 15
Posts: 5864
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: password refusal

Post by AndyMH »

SimpleLinuxUser wrote:
Tue Feb 23, 2021 9:39 pm
If it's not a typing mistake you may have been hacked.
Very, very unlikely. This is not windows.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
Post Reply

Return to “Installation & Boot”