Hello all, I am using the open source version of Rstudio Server on a CentOS 8 machine and logging in with the linux username works fine, but I can't log in with a non-linux username. The pamtester utility reports back successfully authenticated, but the same credentials don't work in Rstudio Server and I see this message in the log file:
Jun 4 08:02:29 usd1sapp101 rserver[54116]: ERROR database error 7 (sqlite3_statement_backend::loadOne: attempt to write a readonly database) [description: Could not insert revoked cookie into the database]; OCCURRED AT virtual rstudio::core::Error rstudio::core::database::Connection::execute(rstudio::core::database::Query&, bool*) src/cpp/core/Database.cpp:480; LOGGED FROM: void rstudio::server::auth::handler::invalidateAuthCookie(const string&, rstudio::core::ExponentialBackoffPtr) src/cpp/server/auth/ServerAuthHandler.cpp:550
Jun 4 08:02:37 usd1sapp101 rserver-pam[126042]: ERROR pam_acct_mgmt failed: Permission denied; LOGGED FROM: virtual int rstudio::core::system::PAM::login(const string&, const string&) src/cpp/server_core/system/Pam.cpp:201
Is this error fixable? How do I give it the proper permissions? Thanks in advance, Roger.
SOLVED: Ok, according to this doc you can comment out the acct-mgmt checking. That worked for me, so I guess I am good now. I hope my days of working with PAM are over.