You are Here:
Download Linux Lite 5.4 Final today - See Release Announcements



X Close Ad
X Close Ad
login password not accepted as a sodo password

Author (Read 2013 times)

0 Members and 1 Guest are viewing this topic.

login password not accepted as a sodo password
« on: January 05, 2021, 12:23:53 PM »
 

BluTho

  • New to Forums
  • *
  • 4
    Posts
  • Country: de
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: i3 M330 2.13GHz

  • MEMORY: 4Gb
Hi all,

at work i am an unix user and now i try to use linux lite at home (dual boot).
The installation was no problem. I defined a password (with ask password for login).
With this login password i can boot linux lite.
But i am not able to use this password for sudo

Code: [Select]
Welcome to Linux Lite 5.2 linuxlite
 
Dienstag 05 Januar 2021, 18:15:55
Memory Usage: 2304/3791MB (60.78%)
Disk Usage: 8/46GB (21%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
 linuxlite  ~  sudo whoami
[sudo] Passwort für linuxlite:
Das hat nicht funktioniert, bitte nochmal probieren.
[sudo] Passwort für linuxlite:

The only ugly incidence within the installation was that my keyboard layout was destroyed. The character on the right side were  all numbers like for numlog keys. My password was nadja1a and this did work with the keys.

my laptop is sony vaio VPCEA1S1E

 


Re: login password not accepted as a sodo password
« Reply #1 on: January 06, 2021, 04:37:50 AM »
 

BluTho

  • New to Forums
  • *
  • 4
    Posts
  • Country: de
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: i3 M330 2.13GHz

  • MEMORY: 4Gb
Hi again,

furthermore, the login after screen lock does not accept the password.
In case i choose "change user" after screen lock, i see the same login screen as for boot login but the password is not accepted.
By a reboot i can login with the password!
Very strange.

By the way, I can not change password without knowing the old one.

Regards BluTho
 

Re: login password not accepted as a sodo password
« Reply #2 on: January 06, 2021, 05:15:29 AM »
 

stevef

  • Occasional Poster
  • **
  • 75
    Posts
  • Country: gb
  • Reputation: 9
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
If it is a keyboard layout problem have you tried checking what the key presses actually do when you are typing what you think is the correct password at the times when it doesn't work ?

I mean when in the terminal just type your password at the normal prompt and at the login screen select 'other user' and type in the password at the username prompt.   Do the same at a point where your password does work and compare.  If different it would suggest a keyboard setting problem which you can resolve by finding the right substitute keys.

There are password recovery guides on line - I've not tried any - otherwise a reinstall.
 

Re: login password not accepted as a sodo password
« Reply #3 on: January 06, 2021, 08:33:56 AM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1575
    Posts
  • Country: us
  • Reputation: 264
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x

@BluTho I'd make sure the keyboard is correctly outputting as mentioned, another try when at the login screen - type the password in the username field, confirm if its correct...

If you cannot login - perhaps the keyboard issues occurred when setting the original password -- if you want to reset the manual has instruction to do so...
https://www.linuxliteos.com/manual/install.html#respassword
LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 5.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.4 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: login password not accepted as a sodo password
« Reply #4 on: January 07, 2021, 03:17:45 AM »
 

BluTho

  • New to Forums
  • *
  • 4
    Posts
  • Country: de
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: i3 M330 2.13GHz

  • MEMORY: 4Gb
Hi all,

thank you for the reply ...

in the shell my password did look as is should.
I guess the keybord layout is switched after login.
Therefor there is a BUG. The keybord layout must switched before login!!!
I did never see the real password on the login screen. The possibility to "Show Password" would be an improvement.
I did not jet test the keys in switch user login screen. I will do this next time.

In the end i did reinstall linux lite just now and did choose a password with unmodified keys.

After first reboot my keys were as ugly as after my first instillation as I wrote before:
"The character on the right side were  all numbers like for numlock keys. "
My keybord has no nom lock area!
I could fix it by Menu>Settings>Keybord>Behavioral-Tab>General-Topic untick "Restore num lock state on startup"
After reboot the keys look good now.
By the way ... I did the "Restore num lock ..." also within the old installation.

LL works now. :-)


 

Re: login password not accepted as a sodo password
« Reply #5 on: January 07, 2021, 04:04:19 AM »
 

BluTho

  • New to Forums
  • *
  • 4
    Posts
  • Country: de
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: i3 M330 2.13GHz

  • MEMORY: 4Gb
Hi All,

on login screen i did switch to another user  and did try the keys:
UIO->456
JKL->123
Therefore my typed "j" in the password was a real "1"

My conclusion:
Menu>Settings>Keybord>Behavioral-Tab>General-Topic
"Restore num lock state on startup" must be off as a default for login (for my keyboard).
As I understand there are users who use the num lock key area at startup. But my keybord has no lock key.
Or easy spoken... There should be no difference in keybord layout for setting password at installation and after login.

Please, open a request to fix the problem. I am far away to overview the topic.

Best regards
BluTho

.
 

Re: login password not accepted as a sodo password
« Reply #6 on: January 07, 2021, 09:39:40 AM »
 

stevef

  • Occasional Poster
  • **
  • 75
    Posts
  • Country: gb
  • Reputation: 9
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Glad you have sorted it out.

I would guess that the keyboard language/layout/key count mappings get applied prior to the login processes.  However num lock state isn't strictly a keyboard mapping setting rather it is a user preference so it would be difficult to always ensure it is the same for all scenarios where a password is involved.

Under 'Lite Tweaks' there is a utility to enable/disable num lock at login - I guess this does the same as the Behaviour setting.  Some PCs have a setting in BIOS which sets num lock to on or off during boot which adds to possible confusion.

Maybe the 'Who Are You?' screen on installation could have a confirmation/warning loop if someone sets a password with either caps lock or num lock settings active and/or the option to display in clear text what has been set as the password.


 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.4 Final today - See Release Announcements