aboutsummaryrefslogtreecommitdiffstats
path: root/gitjoe-newuser.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:22:08 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:22:08 +0200
commit0ed2e72e08154dd0f0b420fa69e5e3095fe83614 (patch)
treecc0b59fad7ea1704e45725ec29daf216688cc142 /gitjoe-newuser.pl
parentFix again (diff)
downloadjoe-scripts-0ed2e72e08154dd0f0b420fa69e5e3095fe83614.tar.gz
joe-scripts-0ed2e72e08154dd0f0b420fa69e5e3095fe83614.tar.bz2
joe-scripts-0ed2e72e08154dd0f0b420fa69e5e3095fe83614.tar.xz
joe-scripts-0ed2e72e08154dd0f0b420fa69e5e3095fe83614.tar.zst
joe-scripts-0ed2e72e08154dd0f0b420fa69e5e3095fe83614.zip
Correct path
Diffstat (limited to 'gitjoe-newuser.pl')
-rwxr-xr-xgitjoe-newuser.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl
index 2b106ee..736338e 100755
--- a/gitjoe-newuser.pl
+++ b/gitjoe-newuser.pl
@@ -48,7 +48,7 @@ EOF"
system(
'/usr/local/bin/dash',
'-c',
- '/bin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . '.ssh'
+ '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . '.ssh'
);
system(
'/usr/local/bin/dash',
@@ -61,7 +61,7 @@ EOF"
system(
'/usr/local/bin/dash',
'-c',
- '/bin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . '.ssh/authorized_keys'
+ '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . '.ssh/authorized_keys'
);
system(
'/usr/local/bin/dash',