aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:09:42 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:09:42 +0200
commit2913be06aafa06855afcf6be167f1f09759662f2 (patch)
tree101346e188119249abdbb25b604c686cd6570f3c
parentTrying adduser (diff)
downloadjoe-scripts-2913be06aafa06855afcf6be167f1f09759662f2.tar.gz
joe-scripts-2913be06aafa06855afcf6be167f1f09759662f2.tar.bz2
joe-scripts-2913be06aafa06855afcf6be167f1f09759662f2.tar.xz
joe-scripts-2913be06aafa06855afcf6be167f1f09759662f2.tar.zst
joe-scripts-2913be06aafa06855afcf6be167f1f09759662f2.zip
Fix
-rwxr-xr-xsrc/gitjoe/adduser.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gitjoe/adduser.pl b/src/gitjoe/adduser.pl
index e996b58..f1e562d 100755
--- a/src/gitjoe/adduser.pl
+++ b/src/gitjoe/adduser.pl
@@ -41,7 +41,7 @@ yes
no
EOF"
);
- my (undef, undef, $uid, $gid) = getpwnam($user);
+ my ($login, $pass, $uid, $gid) = getpwnam($user);
mkdir $home_dir . '.ssh/', 0700;
chown $uid, $gid, $home_dir . '.ssh/'
# system(