I have a gsuite business account with unilimited storage and I want my brother that lives in another country to be able to access and mount it.
I have 3 remotes: gdrive, crypt and cache.
if I mount my config here in my computer everything is fine.
if I send him the rclone.conf file he gets unathorized client.
if it asks to refresh the token, it asks for a login, and if he uses his own google account it doesn't work.
Do I need to give him my login and password to google?
Not that I don't trust him but I rather just share the rclone config file.
You could share either using the "share" function on a normal drive.
or
Simply set up a Teamdrive (now called shared drive) and use that as the storage. Teamdrives are designed for collaboration, so that makes it very easy to share it as you can just invite his email - but with the downside that you will have to share the whole teamdrive. Sharing single folders on teamdrive is not possible. This is probably the most robust option.
How he mounts it will depend on which of those 2 options you use.
On a teamdrive - his config could be identical to yours (although he should probably set up his own clientID for the sake of both performance and your security/privacy).
On a regular drive, his config would be similar to yours, but he would need to use the --drive-shared-with-me flag to see the shared files. Other than that - it's a normal mount, yes.
It's not a complicated setup - but if you get totally lost on the basics after trying it yourself I could always make a template for you.
He is asleep now because of the time difference.
I think I'll try the sharing function and report back if it works.
What I'm wondering is what could lead to a google drive ban.
I'm sharing my unlimited storage with someone else, so I guess giving my login and password would be the most ban prone situation.
Sharing can't be the cause of a ban, can it? If it's a feature made by google it wouldn't make sense.
As you say, there are functions designed specifically for sharing - and teamdrives are made to be shared.
As long as you stay within the terms of service, I don't foresee any problem.
I can't imagine this landing you in trouble (but I guess read the TOS yourself to be sure).
What you definitely should avoid is having anything that might be picked up as illegal, copyrighted or "hacktools/virus" files in unencrypted formats though. Google does run hash-scans from time-to-time to pick up "excessive" amounts of such things. If you run encryption you should be fine though. Not that I necessarily condone such things - but that's not for me to judge