Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: wanfintara on September 21, 2017, 08:13:56 AM

Title: user account suspended after create fresh user
Post by: wanfintara on September 21, 2017, 08:13:56 AM
i just have fresh install CWP and after setup the nameserver and shared IP, and create new user (with new domain).
i wonder why the new user cannot login, i never suspend the user that i just created

https://www.dropbox.com/s/ks3fdi5jf0ye6cp/Capture.PNG?dl=0

https://www.dropbox.com/s/i2bjrsb3uex5t7m/Capture2.PNG?dl=0
Title: Re: user account suspended after create fresh user
Post by: studio4host on September 21, 2017, 12:09:39 PM
try checking what that user has in the file /etc/shadow

grep USERNAME /etc/shadow


if username starts looks like this then this account is suspended
Code: [Select]
USERNAME:!
if it starts like this then it should be ok
Code: [Select]
USERNAME:$
note only difference is ! and $ after USERNAME:
Title: Re: user account suspended after create fresh user
Post by: shanlay on September 29, 2017, 04:12:54 PM
I have the same error Bro.But i can login user account with root password.