Reputation: 382
I've made multiple attempts via both /usr/local/lsws/admin/misc/admpass.sh
and /usr/local/lsws/admin/misc/lsup.sh -a
, always receiving the confirmation:
Administrator's username/password is updated successfully!
But attempting to log in produces an error:
Invalid credentials.
Is there another way to do this?
Upvotes: 1
Views: 2006
Reputation: 110
Try opening up the access rights to htpasswd, e.g.
chmod 644 /usr/local/lsws/admin/conf/htpasswd
I had the same problem with a recent install. Check your server error log? Mine revealed a permission problem:
[NOTICE] [(serverip):51533:HTTP2-45#_AdminVHost] [STDERR] PHP Warning: fopen(/usr/local/lsws/admin/conf/htpasswd): failed to open stream: Permission denied in /usr/local/lsws/admin/html.open/lib/CAuthorizer.php on line 227
Upvotes: 1
Reputation: 839
Check if your password is updated on file here, make sure it shows different string every time you run the "admpass.sh" script.
cat /usr/local/lsws/admin/conf/htpasswd
Can you also share how you install the openlitespeed and which version?
Best
Upvotes: 1