mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #434] Use a global folder for ttyrec sessions #112
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AMBach1r1 on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/434
Is there a way to change the folder where ttyrec save recorded sessions.
The default behavior is using the user home directory and ttyrec subdirectory.
I've tried to add
"ttyrecAdditionalParameters": [/var/ttyrec]but without success.@speed47 commented on GitHub (Jan 19, 2024):
This is indeed in the home folder of the users, and in several places the code (and other scripts handling the lifecycle of the ttyrec files, such as encryption and push to a remote filer once encrypted) are expecting that.
I suppose that in your case,
/var/ttyrecwould be a mountpoint and you'd like to have all the ttyrec files under it, still keeping the hierarchy of/var/ttyrec/$USER/$IP/files.ttyrec?