From 7663a27030cbcd138fd2c9e7b324e314fb1f7d4c Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Wed, 20 Apr 2011 23:57:59 -0700 Subject: Hard-coding gid for newuser --- pinyadmin/sbin/newuser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pinyadmin/sbin') diff --git a/pinyadmin/sbin/newuser b/pinyadmin/sbin/newuser index ef61cd7..22c73ef 100755 --- a/pinyadmin/sbin/newuser +++ b/pinyadmin/sbin/newuser @@ -158,7 +158,7 @@ print GITCONFIG <uid, $u->group->gid, $u->home . "/.gitconfig" ); +chown( $u->uid, (getgrnam("users"))[2] , $u->home . "/.gitconfig" ); print "Your user has been created. Try logging in!\n"; -- cgit v1.2.3