forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,11 +32,21 @@ for letter in {a..z}; do | |
eos mkdir -p "/eos/user/$letter" | ||
done | ||
|
||
# create cbox sudoer user | ||
adduser cbox -u 58679 -g 0 -m -s /bin/sh | ||
eos vid set membership 0 +sudo | ||
eos vid set membership 99 +sudo | ||
eos vid set map -tident "*@storage-home" vuid:0 vgid:0 | ||
eos vid set map -tident "*@storage-users" vuid:0 vgid:0 | ||
eos vid set map -tident "*@storage-local-1" vuid:0 vgid:0 | ||
eos vid set map -tident "*@storage-local-2" vuid:0 vgid:0 | ||
eos vid set membership cbox +sudo | ||
|
||
eos vid set map -tident "*@storage-home" vuid:58679 vgid:0 | ||
eos vid set map -tident "*@storage-users" vuid:58679 vgid:0 | ||
eos vid set map -tident "*@storage-local-1" vuid:58679 vgid:0 | ||
eos vid set map -tident "*@storage-local-2" vuid:58679 vgid:0 | ||
eos vid set map -tident "*@docker-storage-home-1.docker_default" vuid:58679 vgid:0 | ||
|
||
eos vid set map -tident "unix@storage-home" vuid:58679 vgid:0 | ||
eos vid set map -tident "unix@storage-users" vuid:58679 vgid:0 | ||
eos vid set map -tident "unix@storage-local-1" vuid:58679 vgid:0 | ||
eos vid set map -tident "unix@storage-local-2" vuid:58679 vgid:0 | ||
eos vid set map -tident "[email protected]_default" vuid:58679 vgid:0 | ||
|
||
tail -f /dev/null |