20.10.2025 20:48, Sebastien Marie пишет:
kasak <[email protected]> writes:

Hello all!

Sysclean shows me that some users has been modified:

$ doas sysclean
@user _dovecot:518:_dovecot:daemon:/nonexistent:/sbin/nologin (modified)
@user _dovenull:666:_dovenull:daemon:/nonexistent:/sbin/nologin (modified)
@user _dbus:572:_dbus:daemon:/nonexistent:/sbin/nologin (modified)
@user _avahi:629:_avahi:daemon:/var/empty:/sbin/nologin (modified)
@user _cups:541:_cups:daemon:/nonexistent:/sbin/nologin (modified)
@user
_transmission:662:_transmission:daemon:/var/transmission:/sbin/nologin
(modified)
@user _redis:686:_redis:daemon:/var/redis:/sbin/nologin (modified)
@user _rspamd:756:_rspamd:daemon:/nonexistent:/sbin/nologin (modified)

How can I modify them to default?
the latest version of sysclean is now looking at the class field
too. here, it is reporting the the entry in master.passwd differ from
the entry in PKG_DBDIR (/var/db/pkg)

you could review the default value of the @newuser entry using grep(1)
as I am unsure we have a way with pkg_info(8) (please correct me):

$ grep -R '@newuser' /var/db/pkg/

and next, sets the class field:

Here, for _rspam, the installed class is '' (empty) whereas your class
is 'daemon' (it is the same problem for all these entries).

$ doas usermod -L '' _rspamd
Yep! This was fast fix! Solved! Thank you!

Regards.

Reply via email to