diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 16:44:02 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 16:44:02 +0200 |
commit | 60caba003b052a13b7d6fbc942f7b0139ef955fd (patch) | |
tree | 9f8273cf3bb2a4dce1de55e479b6acbe0c23ccff /gitjoe-newuser.pl | |
parent | First commit (diff) | |
download | joe-scripts-60caba003b052a13b7d6fbc942f7b0139ef955fd.tar.gz joe-scripts-60caba003b052a13b7d6fbc942f7b0139ef955fd.tar.bz2 joe-scripts-60caba003b052a13b7d6fbc942f7b0139ef955fd.tar.xz joe-scripts-60caba003b052a13b7d6fbc942f7b0139ef955fd.tar.zst joe-scripts-60caba003b052a13b7d6fbc942f7b0139ef955fd.zip |
Added some scripts
Diffstat (limited to '')
-rwxr-xr-x | gitjoe-newuser.pl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl index d17c477..471dd94 100755 --- a/gitjoe-newuser.pl +++ b/gitjoe-newuser.pl @@ -14,11 +14,12 @@ sub main { exit 1; } my $usr = $ARGV[0]; + my $pass = $ARGV[1]; system( '/usr/local/bin/dash', '-c', "adduser << EOF -". $usr . " +" . $usr . " @@ -26,6 +27,15 @@ sub main { git-shell + + + + +" . $pass . " +" . $pass . " + +yes +no EOF" ); } |