- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: backing up configuration and pulling file to d...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
backing up configuration and pulling file to different location
All,
We’d like to setup a system where our MoveIT server will be able to pull our gateway config backups. Is there a way for us to create a Local account with only access /var/log/CPbackup/backups? If possible we would like restrict this account to only pull from the folder. Which roles would be required to do so if possible to do so?
Thanks,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First you'll want to create a scponly user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alternatively, could you write a script that scps files from /var/log/CPbackup/backups to your server and then crontab that script to run periodically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can this be isolated to /var/log/CPbackup/backups folder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you’re describing would be best achieved through use of a chroot jail.
While I’m not sure you can execute these exact steps on Gaia OS, this outlines the basic process.
Create the users and groups using standard Gaia OS commands using scponly shell.
https://passingcuriosity.com/2014/openssh-restrict-to-sftp-chroot/
