Hi George,
you can place an override file in /etc/systemd/systemd to change all xrootd instances or just a single one.
We have an override file [1] for just the alice instance in
[log in to unmask]
to set the user/group as well as add a dependency on our storage system daemon.
Our storage system daemon runs as root, since it presents a full file system.
I cannot tell you how CEPH needs to be used, though.
Hope that helps!
Cheers,
Max
[1]$ cat [log in to unmask]
[Unit]
After=gpfs.service
Requires=gpfs.service
[Service]
User = scc-xrootd-0001
Group = scc-xrootd-0001
> Am 25.01.2019 um 16:25 schrieb George Patargias - UKRI STFC <[log in to unmask]>:
>
> Hi Max,
>
>
> Thanks for this. I was refering basically on the xrootd@proxy service running on a Ceph gateway.
>
>
> Do you mean to change the user/group settings in [log in to unmask]
>
> from "xrootd" to "alicesgm" ?
>
>
> What about the xrootd@ceph service?
>
>
> George
>
>
>
> ________________________________
> From: Fischer, Max (SCC) <[log in to unmask]>
> Sent: 25 January 2019 15:02:22
> To: Patargias, George (STFC,RAL,SC)
> Cc: [log in to unmask]
> Subject: Re: Map users to a single username
>
> Hi George,
>
> while it is not exactly what you are asking for:
> We simply run all ALICE xrootd services as the respective alicesgm user. That automatically maps all users to this identity for operations on the file system etc.
>
> Cheers,
> Max
>
>> Am 25.01.2019 um 14:44 schrieb George Patargias - UKRI STFC <[log in to unmask]>:
>>
>> Hello,
>>
>>
>> Is there any directive in the xrootd config that can map all users to a single username?
>>
>>
>> Basically, I am trying to find the equivalent of the following directive from the CASTOR xrootd-plugin
>>
>>
>> xcastor2.role * alicesgm
>>
>>
>> Many thanks,
>>
>>
>> George
>>
>> ########################################################################
>> Use REPLY-ALL to reply to list
>>
>> To unsubscribe from the XROOTD-L list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
|