How to give users access to beegfs-df and beegfs-ctl --getquota in 7.3.2?

35 views
Skip to first unread message

Vinci Chow

unread,
Jan 28, 2023, 6:36:25 AM1/28/23
to beegfs-user
The documentation of 7.3.2 highly recommend enabling connection-based authentication. 
The example instructions sets connauthfile to be readable only by the root user: https://doc.beegfs.io/latest/advanced_topics/authentication.html#connectionbasedauth

This would, however, forbid user access to beegfs-df and beegfs-ctl --getquota due to permission error. Is the solution setting connauthfile's permission to 644?

Bruno Travouillon

unread,
Apr 25, 2023, 3:00:49 AM4/25/23
to beegfs-user
You can add the setuid bit on the file with chmod u+s /usr/sbin/beegfs-ctl.

$ ls -lH /usr/sbin/beegfs-ctl
-rwsr-xr-x 1 root root 2537840 Mar 15  2022 /usr/sbin/beegfs-ctl

Regards,
Bruno
Reply all
Reply to author
Forward
0 new messages