unused-code

This commit is contained in:
simono41 2018-03-16 11:43:10 +01:00
parent 2a2da964dc
commit fdddc21d8f

View file

@ -95,7 +95,6 @@ function userrechte() {
chown -cR -v "$username":users /home/"$username" chown -cR -v "$username":users /home/"$username"
chmod 750 -Rv /home/"$username" chmod 750 -Rv /home/"$username"
#ssh #ssh
chmod 755 /home/"$username"/
if [ -d /home/"$username"/.ssh ]; then if [ -d /home/"$username"/.ssh ]; then
chmod 700 /home/"$username"/.ssh chmod 700 /home/"$username"/.ssh
fi fi
@ -109,7 +108,6 @@ function userrechte() {
#root #root
chmod 750 -Rv /root chmod 750 -Rv /root
#ssh-root #ssh-root
chmod 755 /root/
if [ -d /root/.ssh ]; then if [ -d /root/.ssh ]; then
chmod 700 /root/.ssh chmod 700 /root/.ssh
fi fi