Initial setup
This commit is contained in:
parent
f696948d1e
commit
bcb79228a1
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) <year> <owner> . All rights reserved.
|
||||
Copyright (c) 2019 Austin Ewens . All rights reserved.
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p /center/{bin,data,etc,home}
|
||||
cp bin/* /center/bin/
|
||||
cp data/* /center/data/
|
||||
cp etc/* /center/etc/
|
||||
cp home/* /center/home/
|
||||
chmod 700 /center/bin
|
||||
chmod -R 700 /center/etc/ldap
|
||||
chmod -R 700 /center/etc/secrets
|
||||
chmod -R 755 /center/etc/skel
|
||||
cd /tmp
|
||||
git clone https://tildegit.org/center/ldap-users.git
|
||||
cp /tmp/ldap-users/bin/* /center/bin/
|
||||
cp /tmp/ldap-users/etc/* /center/etc/ldap/
|
Loading…
Reference in New Issue