Only root can login

New to Debian (Or Linux in general)? Ask your questions here!

Only root can login

Postby Debro20 » 2018-01-18 21:37

I recently set up a Debian based home media server (running OpenMediaVault 3 on top of Debian 8 Jessie).

I am having a weird problem which I can't solve - it seems when trying to login in via SSH or remote desktop, only root user can login. Any of my other users refuse to login, saying the password is wrong even though I checked it's right. I tried creating new users but they don't work either. I checked the /etc/pam.d files but couldn't find anything wrong there. The users even worked before, I'm not sure what happened now. Note that logins still work for my SMB shares. Any clue?
Debro20
 
Posts: 2
Joined: 2018-01-18 21:31

Re: Only root can login

Postby makh » 2018-01-28 13:01

Hi

Check: Allow remote access to normal users.

Thankyou
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 622
Joined: 2011-10-09 09:16

Re: Only root can login

Postby bw123 » 2018-01-28 17:02

Is the problem only with ssh logins?

This happened to me once with all logins when permissions in certain directories under / were not correct, especially /tmp check also permissions on /home
User avatar
bw123
 
Posts: 3517
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Only root can login

Postby Debro20 » 2018-02-06 19:15

makh wrote:Hi

Check: Allow remote access to normal users.

Thankyou


Thank you! This solved my problem. I followed the directions here: https://techglimpse.com/limit-remote-login-specific-user-accounts-linux-server/
Debro20
 
Posts: 2
Joined: 2018-01-18 21:31


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable