Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to set uid/gid for 'backup' user to 801:801 for consistency across hosts. #4

Open
bdgregg opened this issue Jun 3, 2022 · 2 comments

Comments

@bdgregg
Copy link

bdgregg commented Jun 3, 2022

Eg.
$ id backup
uid=801(backup) gid=801(backup) groups=801(backup)

@ctgraham
Copy link
Member

ctgraham commented Jun 3, 2022

User creation is generally here:

ansible-build/mysql.yml

Lines 94 to 100 in 1dc314c

# manage automatic mysqlbackups
- name: Add backup user
user:
name: backup
comment: Mysql Backup
shell: /sbin/nologin

But also duplicated here:

ansible-build/ojs.yml

Lines 96 to 100 in 1dc314c

- name: Add backup user
user:
name: backup
comment: Mysql Backup
shell: /sbin/nologin

(particularly if OJS were ever to have a remote db)

@bdgregg
Copy link
Author

bdgregg commented Jun 3, 2022

As this is for not only performing MySQL backups now, should the comment be updated as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants