Unable to login to new user after creation in kali

0

So I installed a new version of kali (2019.4). I want to add a user such that I can use the OS on non-root mode. It shows up as a user in the etc/passwd. But when I try to switch users (via the logout button in start) it will not allow me to do so. I flash black and then brings me to the login page. I can switch users in terminal however.

What I have typed:

88  useradd -m jarvis
89  passwd jarvis
90  usermod -a -G sudo jarvis
91  chsh -s /bin/bash jarvis
92  cat /etc/passwd
93  usermod --uid jarvis 2000
94  usermod jarvis --uid 2000

idk0namz

Posted 2020-01-28T01:46:05.830

Reputation: 1

No answers