unused-code
This commit is contained in:
parent
2a2da964dc
commit
fdddc21d8f
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue