Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just bought my first VPS that I got a smoking deal on.

It is running Ubuntu 11.10 X64.

I set up a Minecraft server on it to see how it would handle it, and ending up created a minecraft account on the VPS to run the MC server at boot.

Now I would like to log in to the minecraft through SSH so I can screen the minecraft server. But I am unable to SSH into my VPS using the minecraft account I created. When I enter the account's correct password it immediately closed the SSH session (if I enter the incorrect password it tells me access denied).

I can SSH in with root still.

I have

  • made sure the minecraft account has a home folder and appropriate privledges to it.
  • edited the sshd_config file, adding a AllowUsers field for minecraft and root
  • edited the sshd_config file, setting UsePriviledgeSeparation to no
share|improve this question

migrated from stackoverflow.com Jan 23 '13 at 23:20

This question came from our site for professional and enthusiast programmers.

1 Answer 1

maybe the user has /usr/sbin/nologin ? In any case, make some attempts and then check /var/log/secure to see what's wrong.

I belive you can change user login or nologin in /etc/passwd

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.