Setting up custom passwords

1 view
Skip to first unread message

Mark

unread,
Nov 18, 2009, 3:07:50 PM11/18/09
to ControlTier
As someone who is not familiar with Jetty, it took a little time to
figure out how to configure new accounts with passwords that are not
in plaintext. It was suggested that I might want to share this with
the group, so here goes:

$ cd ControlTier/pkgs/jetty-6.1.14
$ java -cp lib/jetty-6.1.14.jar:lib/jetty-util-6.1.14.jar
org.mortbay.security.Password username password
OBF:obfpass
MD5:md5pass
CRYPT:cryptpass

Then add this to etc/realm.properties like so:
username: MD5:md5pas>,user,build,deploy

Note that if you want to use digest authentication, there appears to
be another step involved, where you take an md5hash of something like
username:workbench:obfpass or username:jobcenterrealm:obfpass

(Note that if you use digest you must use OBF). As a caveat, I have
not tested the digest portion of these instructions, that's just a
best guess from the things I read while getting the straight hashed
passwords to work.

Moses Lei

unread,
Nov 18, 2009, 4:01:38 PM11/18/09
to contr...@googlegroups.com
Hi Mark,

I couldn't find a wiki page on general authentication using either plaintext or hashed passwords. Would you be willing to start one based on this information?

Moses

--
Moses Lei
[ Professional Services | DTO Solutions, Inc. ]
[ mobile: 703.901.5969 | e-mail: ml...@dtosolutions.com | aim/gtalk: ml...@controltier.com | yahoo: moseslei ]




--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Mark

unread,
Nov 20, 2009, 4:42:18 PM11/20/09
to ControlTier
Done: http://open.controltier.com/wiki/Creating_Additional_Users

I'm not much for writing this type of thing up though, so someone with
more flair for technical documentation will probably want to clean
that up.

On Nov 18, 3:01 pm, Moses Lei <m...@dtosolutions.com> wrote:
> Hi Mark,
>
> I couldn't find a wiki page on general authentication using either plaintext
> or hashed passwords. Would you be willing to start one based on this
> information?
>
> Moses
>
> --
> Moses Lei
> [ Professional Services | DTO Solutions, Inc. ]
> [ mobile: 703.901.5969 | e-mail: m...@dtosolutions.com | aim/gtalk:
> m...@controltier.com | yahoo: moseslei ]

Alex-SF

unread,
Nov 23, 2009, 12:50:43 PM11/23/09
to ControlTier

Looks good. I linked the page into a couple of indexes but I think
it's good for now.
Reply all
Reply to author
Forward
0 new messages