You mention login with root but the log shows that you try to login
with user "sa". Was that a typo?

You should be able to login with PAM if and only if the user is root or
the user is a member of the wheel or sudo group. 

Kind regards,

Martijn Brinkers


On Sat, 2021-07-17 at 00:12 -0400, Jeremy Hansen via Users wrote:
> I’m no longer able to login as root via the ciphermail web
> portal.  I’m not sure what happened or how to debug but suddenly I
> can’t login.  It was working fine initially.  I’m using Red Hat
> packages for 5.0.4.
> 
> Jul 16 20:52:59 cmx01 ciphermail-gateway-backend[2991]: 16 Jul 2021
> 20:52:59 | WARN  [Admin Login] Authentication failure: Bad
> credentials, Source: 
> org.springframework.security.authentication.UsernamePasswordAuthenticationToken@1f
> : Principal: sa; Credentials: [PROTECTED]; Authenticated: false;
> Details: 
> org.springframework.security.web.authentication.WebAuthenticationDetails@0
> : RemoteIpAddress: 10.10.10.2; SessionId:
> EB6F7486DC93FC9513F7AB0836D3158D; Not granted any
> authorities    (mitm.common.event.EventLoggerImpl)
> [defaultEventExecutorGroup-4-2]
> Jul 16 20:52:59 cmx01 ciphermail-gateway-backend[2991]: 16 Jul 2021
> 20:52:59 | INFO  Certificate request handler thread
> started.    (mitm.common.security.ca.CAImpl) [Certificate request
> handler thread]
> 
> Is there a way I can add a user to the db just so I’m able to login?
> 
> Thanks
> -jeremy
-- 
CipherMail email encryption
Email encryption with support for S/MIME,
OpenPGP, PDF Messenger and Webmail Messenger

Reply via email to