1

I can't log in to KDE, as other users to the GUI on my Debian systems only the user created at install.

I can log on in the command line:

su - user

into the users login but only in the shell.

I have created a login shell

usermod -s /bin/bash user

and deleted users and created new ones

useradd -m user

I've tried to change the password:

sudo passwd user

cat /etc/passwd   # gives

Óuser:x:1001:1001::/home/Óuser:/bin/bash

os-release:

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

When I try to login I get login failed like when you have a wrong password but I'm sure I have the right passwords.

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232

1 Answers1

4

Usernames on Debian systems must start with an ASCII letter or underscore, and then only contain letters, digits, dashes or underscores. The username may end with an optional $. The maximum length is 32 characters.

Instead of Óli, I would suggest oli and then to set the user's "real name" to Óli.

See also: What is the regex to validate Linux users?

Kusalananda
  • 333,661