Password in conf file


cdaou

Recommended Posts

Dear all,

sorry for my ignorance, but I have been trying to use a hash password in the conf file.

Webui section
"listen" : <IP: port>
For example, 0.0.0.0:8888 will listen to any interface on the LAN at port 8888.
To disable WebUI, remove this field
"Login" and "Password" - allow you to set credentials.
"password_hash" - allows you to enter password hash in crypt(3) format.

using a plain password is easy, but I was wondering about the hashed version,

1. is it safer ? I mean does it make sense to use it or reverting it is a simple task ?

2. how can I hash a password (either in windows or an online generator as I don't have a linux machine hanging around)

 

thanks for any help/clarification/recommandation you could provide

C.

Link to comment
Share on other sites

  1. It is safer - you don't have to store password in plain text. It is not reversible, although if you have weak password bruteforce is always possible
  2. There is mkpasswd command line tool for linux and its clones for Windows and OS X accordingly. There are variety of online mkpasswd clones, though can't recommend due to obvious reasons
Link to comment
Share on other sites

Romanz,

I fully understand the plain text issue, that's why I was looking at the hashing.

thank for your answer. I will look into that and see if I can figure it out. 

too bad there is no wiki for that, it would really be helpfull

Cheers,

C

Link to comment
Share on other sites

Romanz,

 

thanks for updating the KB.

it probably works fine on linux, but I have yet to find a way to have it on windows. the cygwin version I get with openssh version for example does not seem to generate hash version, or I have not found how.

I will update my topic if I find something.

C

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.