0

I have installed git on my Ubuntu server running Plesk, but i have tried to follow following method to setup: How to configure gitolite for a single domain on Plesk

But unfortunately the adduser function is not functional (does not fit adduser syntax).

Can anybody tell me if there is another method or what the correction is to the adduser line?

Community
  • 1
  • 1
JavaCake
  • 4,075
  • 14
  • 62
  • 125

1 Answers1

0

Try this, or simply read the manpage for advice

sudo adduser --home /var/www/vhosts/[domain]/git  --uid 10004 --gid 2524 [SSH_USER].git
CharlesB
  • 86,532
  • 28
  • 194
  • 218
artagnon
  • 3,609
  • 3
  • 23
  • 26
  • @CharlesB I was a bit too fast with my post, i actually already tried that and got following error: `adduser: Please enter a username matching the regular expression configured via the NAME_REGEX configuration variable. Use the `--force-badname' option to relax this check or reconfigure NAME_REGEX.` – JavaCake Jun 23 '11 at 12:07
  • @JavaCake You dialed the wrong number I'm not the answer's author, just edited it :) – CharlesB Jun 23 '11 at 12:10
  • @CharlesB woopsie.. Im new here, so i need to get used to how the identify who wrote what :) – JavaCake Jun 23 '11 at 12:16
  • the above comment was to you :) – JavaCake Jun 23 '11 at 12:16
  • @JavaCake Why don't you just use '--force-badname' then? '[SSH_USER].git' is quite a queer UNIX username, and the system's just trying to tell you that you probably mistyped something. – artagnon Jul 05 '11 at 08:01