5/6/2023 0 Comments Configure netatalk![]() ![]() Note that you can give the capsule a name with spaces above. # vim /etc/netatalk/faultĮnter the following: /backups/timecapsule "pi-capsule" options:tm # apt install netatalkĪllow access to all the appropriate accounts to the directory where the backups are going to be written to: # chown :timemachine_john /backups/timecapsule/Įdit the settings of the netatalk service so that that share can be seen with the name of your choice and work as a Time Capsule server. ![]() # groupmod -g 1012 timemachine Time Capsule Install netatalk # usermod -g timemachine_john -G backupusers timemachine_johnĪlthough not required, you could force the UID and GID to be a specific one. The backup group can access the backintime dataset, but not each other’s data.Īssign main group and secondary group (the secondary group would be the shared one). It is possible to isolate users by assigning them individual datasets, but that might create storage silos.Īn alternative is to create individual users that belong to the same backup group. If more than one system is going to be backed up it is advisable to use different accounts for each. If required, the default shell can be changed with: # usermod -s /usr/sbin/nologin timemachine_john Setting up backup user groups Generic user example: # useradd -s /usr/sbin/nologin timemachineĭedicated user example: # useradd -s /usr/sbin/nologin timemachine_john ![]() If there is no entry add it: # vim /etc/shells # /etc/shells: valid login shellsĬreate a generic user for the backups, or dedicated accounts for each user to increase security: We are also creating accounts that can’t login into the system for Time Machine, only authenticate.Ĭheck if there is an entry for nologin in: $ cat /etc/shells As in a given user shouldn’t have any visibility or notion of other users’ backups. You want to keep files and access as isolated as possible. You are going to have to create users for each of the services/users that will be connecting to the server. I am using a Raspberry Pi that has Ubuntu installed, with a USB disk that has been configured into a ZFS pool. In this post, I am setting up a Time Capsule and Backintime server. ![]()
0 Comments
Leave a Reply. |