Created
September 10, 2019 21:27
-
-
Save sandikata/688a10227893198461274fa3cecef652 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
useradd -c "ProjectX Manager" manager | |
useradd -c "ProjectX Developer" developer | |
passwd manager | |
passwd developer | |
groupadd -g 3000 projectxyz | |
gpasswd -a manager projectxyz | |
gpasswd -a developer projectxyz | |
mkdir /shared/projects/projectXYZ -p | |
mkdir /shared/projects/projectXYZ/STAGE{1..3} | |
mkdir /shared/projects/projectXYZ/STAGE{1..3}/{DOCUMENTS,BUDGET} | |
touch /shared/projects/projectXYZ/STAGE{1..3}/DOCUMENTS/document{1..10}.doc | |
touch /shared/projects/projectXYZ/STAGE{1..3}/BUDGET/radme_{en,bg,de}.txt | |
chown -R manager:projectxyz /shared/projects/projectXYZ | |
chmod -R u=rwx /shared/projects/projectXYZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment