Skip to content

"usermod -d ..." fails #95

@mimmus

Description

@mimmus

I need set only ssh keys for the user 'mysql" but I get:

Error: Could not set home on user[mysql]: Execution of '/sbin/usermod -d /home/mysql mysql' returned 8: usermod: user mysql is currently used by process 2621
Error: /Stage[main]/Accounts/Accounts::User[mysql]/User[mysql]/home: change from /var/lib/mysql to /home/mysql failed: Could not set home on user[mysql]: Execution of '/sbin/usermod -d /home/mysql mysql' returned 8: usermod: user mysql is currently used by process 2621

Added:
managehome: false
but no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions