diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:22:08 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:22:08 +0200 |
commit | 0ed2e72e08154dd0f0b420fa69e5e3095fe83614 (patch) | |
tree | cc0b59fad7ea1704e45725ec29daf216688cc142 /gitjoe-newuser.pl | |
parent | Fix again (diff) | |
download | joe-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 '')
-rwxr-xr-x | gitjoe-newuser.pl | 4 |
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', |