From 0ed2e72e08154dd0f0b420fa69e5e3095fe83614 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Jul 2020 17:22:08 +0200 Subject: Correct path --- gitjoe-newuser.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gitjoe-newuser.pl') 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', -- cgit v1.2.3