From 5e087d2d7339002bd77810b198c55be8e57a71e7 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 5 Mar 2012 23:22:16 -0500 Subject: [PATCH] new files for newer examples, now using /home/games for transient installed games rather than /usr/local/games. fits better with our current style of having a huge home partition and smaller other partitions. --- .../configuration/samba/fstab_nas_vitalstore | 26 +++++++++++++++++++ database/configuration/users/group_for_alts | 10 +++++++ database/configuration/users/passwd_for_alts | 10 +++++++ scripts/files/fix_game_perms.sh | 4 +-- 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 database/configuration/samba/fstab_nas_vitalstore create mode 100644 database/configuration/users/group_for_alts create mode 100644 database/configuration/users/passwd_for_alts diff --git a/database/configuration/samba/fstab_nas_vitalstore b/database/configuration/samba/fstab_nas_vitalstore new file mode 100644 index 00000000..bfe21df4 --- /dev/null +++ b/database/configuration/samba/fstab_nas_vitalstore @@ -0,0 +1,26 @@ + + +############## +# +# fred's bastion of drives... +# + +# link to shaggy's archive drive. +shaggy:/z/archivonia /z/archivonia nfs exec,dev,suid,rw,user 0 0 + +# NAS mounts... + +#nfs not currently allowing writes. grrrrr. +#vitalstore:/DataVolume/chunky /z/chunky nfs exec,dev,suid,rw,user 0 0 +#vitalstore:/DataVolume/stuffing /z/stuffing nfs exec,dev,suid,rw,user 0 0 +#vitalstore:/DataVolume/walrus /z/walrus nfs exec,dev,suid,ro,user 0 0 + +//vitalstore/chunky /z/chunky cifs credentials=/etc/samba/vitalstore_cifs.txt,uid=1008,gid=1008 0 0 +//vitalstore/stuffing /z/stuffing cifs credentials=/etc/samba/vitalstore_cifs.txt,uid=1008,gid=1008 0 0 +//vitalstore/walrus /z/walrus cifs credentials=/etc/samba/vitalstore_cifs.txt,uid=1008,gid=1008 0 0 +# only for the subversion server, currently hal. +# //vitalstore/subversion /z/repo cifs credentials=/etc/samba/vitalstore_cifs.txt,uid=1008,gid=1008 0 0 + +# +############## + diff --git a/database/configuration/users/group_for_alts b/database/configuration/users/group_for_alts new file mode 100644 index 00000000..85abec76 --- /dev/null +++ b/database/configuration/users/group_for_alts @@ -0,0 +1,10 @@ + +fred:x:1008: + +fredhuff:x:14000:fred +chronical:x:14001:fred +zeno:x:14002:fred +mojo:x:14003:fred +sedge:x:14004:fred +ddm:x:14005:fred + diff --git a/database/configuration/users/passwd_for_alts b/database/configuration/users/passwd_for_alts new file mode 100644 index 00000000..683491fe --- /dev/null +++ b/database/configuration/users/passwd_for_alts @@ -0,0 +1,10 @@ + +fred:x:1008:1008:fred hamster,,,:/home/fred:/bin/bash + +fredhuff:x:14000:14000:Fred Huffhines,,,,:/home/fredhuff:/bin/bash +chronical:x:14001:14001:Chronical Koolhoven,,,,:/home/chronical:/bin/bash +zeno:x:14002:14002:Zeno Olifone,,,,:/home/zeno:/bin/bash +mojo:x:14003:14003:mojopickle haystack,,,,:/home/mojo:/bin/bash +sedge:x:14004:14004:sedgeweaver jupiter,,,,:/home/sedge:/bin/bash +ddm:x:14005:14005:DharmaDrum Magic,,,,:/home/ddm:/bin/bash + diff --git a/scripts/files/fix_game_perms.sh b/scripts/files/fix_game_perms.sh index 5bcdf5ff..4cf49d94 100644 --- a/scripts/files/fix_game_perms.sh +++ b/scripts/files/fix_game_perms.sh @@ -3,6 +3,6 @@ # fixes the permissions of files in the local games directory so that # everyone can run or read them if the owner could. -find /usr/local/games -type f -perm /100 -exec chmod a+x {} ';' -find /usr/local/games -type f -perm /400 -exec chmod a+r {} ';' +find /home/games -type f -perm /100 -exec chmod a+x {} ';' +find /home/games -type f -perm /400 -exec chmod a+r {} ';' -- 2.34.1