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

tighten sync-user permissions with rrsync #90

Closed
darkk opened this issue Mar 13, 2017 · 2 comments
Closed

tighten sync-user permissions with rrsync #90

darkk opened this issue Mar 13, 2017 · 2 comments

Comments

@darkk
Copy link
Contributor

darkk commented Mar 13, 2017

sync-user can execute arbitrary command at the moment.
IMHO, it makes sense to limit it with command="$HOME/bin/rrsync /data/fqdn/renamed",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa... in authorized_keys to reduce privileges.

@bassosimone
Copy link
Contributor

Yeah, I think this would be a good improvement!

@anadahz
Copy link
Contributor

anadahz commented Mar 14, 2017

The sync user has now only access to the rrsync script for the collector and bouncer endpoints.
Thanks for reporting this @darkk .

@anadahz anadahz closed this as completed Mar 14, 2017
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

3 participants