45f4ae2458
new file: usr/etc/systemd/sleep.conf -> no hibernation but freeze modified: usr/home/.bash_aliases -> src but still doesn't work
17 lines
320 B
Bash
Executable File
17 lines
320 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
groupadd $MACHINE
|
|
usermod -aG svr $SUDO_USER
|
|
chmod -R g+s $MACHINE_DIR
|
|
chown -R root $MACHINE_DIR
|
|
chgrp -R $MACHINE $MACHINE_DIR
|
|
chmod -R 771 $MACHINE_DIR/install
|
|
chmod -R 771 $BIN_DIR
|
|
chmod -R 661 $MACHINE_DIR/.git
|
|
find $MACHINE_DIR -type d -exec chmod 775 {} \;
|
|
chown root:root /etc/pam.d/*
|
|
|
|
exit 0
|
|
|
|
|