Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing arbbot #170

Open
Caimocor opened this issue Mar 3, 2018 · 2 comments
Open

Installing arbbot #170

Caimocor opened this issue Mar 3, 2018 · 2 comments

Comments

@Caimocor
Copy link

Caimocor commented Mar 3, 2018

I am trying to do this command. All the commands above I did sucessfully but this specific is not working htpasswd -b /var/www/conf/arbitrage.passwd username password
and it returns something like these:

Usage:
	htpasswd [-cimBdpsDv] [-C cost] passwordfile username
	htpasswd -b[cmBdpsDv] [-C cost] passwordfile username password

	htpasswd -n[imBdps] [-C cost] username
	htpasswd -nb[mBdps] [-C cost] username password

 -c  Create a new file.
 -n  Don't update file; display results on stdout.
 -b  Use the password from the command line rather than prompting for it.
 -i  Read password from stdin without verification (for script usage).
 -m  Force MD5 encryption of the password (default).
 -B  Force bcrypt encryption of the password (very secure).
 -C  Set the computing time used for the bcrypt algorithm
     (higher is more secure but slower, default: 5, valid: 4 to 31).
 -d  Force CRYPT encryption of the password (8 chars max, insecure).
 -s  Force SHA encryption of the password (insecure).

I was looking at the folder /var/www/ and there is no conf folder. What should I do?
I know that this is a very newbie question but I am little confused about this.

@Ryanklingert
Copy link

Did you ever figure out how to resolve this issue?

@sanitariu
Copy link

you should create folder conf like
mkdir /var/www/conf
then you should use the command: htpasswd -c /var/www/conf/arbitrage.passwd admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants