0

First time Linux user. Treat me like a complete idiot.

Installed Manjaro on VMWare. I'm required to get into this whole Linux thing for college. First problem:

  1. Created user account from root. (useradd test)
  2. Gave 'test' a password. (passwd test, password, password, >confirmed)
  3. Attempt to log in.

Manjaro looks like it's logging in. The screen flashes black. Then all of a sudden I'm back in the user login screen. This isn't right.

I do not have this issue with the root account. But for the purposes of my course, I do not want to be logged into the root account. It's not good practice either.

1 Answer 1

1

Use adduser (friendlier interactive frontend to useradd) instead of pure useradd. adduser automatically creates home directory, adds user to needed groups etc.

Or use useradd with keys: useradd -m -d /home/testuser -s /bin/bash -c "Test User" -U testuser

3
  • adduser > command not found Commented Sep 2, 2015 at 4:45
  • 1
    @Jojo so, use useradd with keys. # useradd -m -g [initial_group] -G [additional_groups] -s [login_shell] [username] ArchWiki (Manjaro is Arch fork, right?) may be helpful with some questions: wiki.archlinux.org/index.php/Users_and_groups#User_management Commented Sep 2, 2015 at 4:50
  • @Jojo please, mark answer as best and question as answered. It will help to others with the same problem Commented Sep 2, 2015 at 4:59

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.