Installing mail/mutt erased a user account
- Reply: Yuri : "Re: Installing mail/mutt erased a user account"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 16:58:03 UTC
It appears that installing mail/mutt erased a user account. Mutt was compiled locally using poudriere and installed via pkg from the local repository. After installation it was still possible to log in as the regular user, but su asked "Who are you?" when invoked. It developed that the original username was absent from /etc/passwd and /etc/master.passwd, but the original home directory was present, in this case /usr/home rather than /home. Re-running adduser as root allowed reinstatement of user login and su now behaves normally. Adduser didn't report the account as existing, so how login by ssh worked is mysterious and could be indication of a recollection error on my part. This was on a Pi2 v1.1 running FreeBSD www.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #22 main-1d35493e46: Tue Apr 18 06:23:00 PDT 2023 bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm In the meantime sendmail was reinstated as the MTA. That's been done before with no ill effects, but it was a near-simultaneous change that might have contributed to the confusion. I'll chalk this up to faulty wetware unless advised otherwise. Thanks for reading, bob prohaska