rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: jlparsons on August 02, 2009, 06:27:41 PM
-
Hi guys,
First can I say a big thank you to Rejetto for a superb piece of work.
Now my problem. Is it possible to set a password at the group level so that each user has their own username but uses a group password?
If that is not possible is there a way of resetting all of the user passwords to the same password.
What I am trying to achieve is for each user to have thier own login (so that I can assign folder permissions) but use a common password.
I know that I can manually assign each password to be the same but I would want to change the password on a regular basis so some form of automation would help.
I fully understand that if a user knew another users username that they would be able to login as that user. However each user would not know the other usernames and also would not know that a common password was being used.
I hope that makes sense.
I am using HFS 2.3 beta.
Thanks
James
-
I don't think there is any way of doing it from within HFS but you might be able to set up a macro to edit the file which contains the users and passwords (I don't remember which file that is or if it is even possible).
-
Thanks for the reply Metaltailz,
I believe that the login info is held in the hfs.ini file and I was hoping that I may be able script something to do a find and replace on it. The login information however appears to be encryted with the username and password as a single string.
As for using a macro, does anyone have any idea how I would go about this?
-
you can work directly on the hfs.ini file, yes, but that would require a restart.
the login information is encoded by base64. you probably need to be a programmer to get this goal.
a little script may be easier.
{.set account|frank|password=theNewOne.}
will do for frank.
it's not trivial, but feasible to loop over {.get|accounts.}
and when {.member of| ThatGroup |user=ThatUser.}
than you set the password with the command reported above.
it clearly requires some programming knowledge :-\
documentation is available after: menu > help