Control: tags -1 + moreinfo

On Fri, Jul 19, 2024 at 10:31:15AM +0300, Antti Kultanen wrote:
> the "last" command in wtmpdb does not work:
> -8<-
> % last
> open_database_ro: Cannot open database (/var/lib/wtmpdb/wtmp.db): unable to 
> open database file

Is that because the file is missing, or because of another problem?
Can you check strace?

> Backstory: I just noticed that the "last" command was missing. A quick 
> google search suggested to install the wtmpdb package. The last command 
> is now there, but it doesn't work as above. What is the procedure to 
> migrate to wtmpdb, besides installing the package? I couldn't find 
> any instructions on the man page and there is no documentation included 
> in the .deb.

There is nothing else to do on a normal install. Otherwise,
libpam-wtmpdb needs to be installed and accepted in pam-auth-update.

> (Yes, there have been logins after I installed the wtmpdb package)

Using which mechanism?

Chris

Reply via email to